Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000857/0.000857, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 212.1 kB / 22.25 MB, free: 3.727 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9894/0.9894, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8189/0.8189, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 70.45 kB / 0.7178 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5132, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001997/0.5152, allocations: 0.6537 MB / 0.8181 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008374/0.5161, allocations: 0.8154 MB / 0.8189 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.595e-05/0.5161, allocations: 0 / 0.8189 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.001e-05/0.5161, allocations: 0 / 0.8189 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.918e-05/0.5162, allocations: 7.734 kB / 0.8189 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.5164, allocations: 13.73 kB / 0.8189 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.554e-05/0.5165, allocations: 25.23 kB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.5166, allocations: 5.594 kB / 0.8189 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.937e-05/0.5167, allocations: 16.73 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.894e-05/0.5167, allocations: 6.453 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.5167, allocations: 2.688 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.716e-05/0.5168, allocations: 7.344 kB / 0.8189 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.5168, allocations: 14.28 kB / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.5168, allocations: 4.625 kB / 0.819 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.517, allocations: 33.38 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.517, allocations: 1.25 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.615e-06/0.517, allocations: 0 / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.263e-06/0.517, allocations: 0 / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003958/0.5174, allocations: 265.5 kB / 0.8192 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.5174, allocations: 7.641 kB / 0.8193 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.369e-05/0.5175, allocations: 34.95 kB / 0.8193 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.369e-05/0.5175, allocations: 1.641 kB / 0.8193 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.027e-05/0.5176, allocations: 113.2 kB / 0.8194 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.5176, allocations: 0.9844 kB / 0.8194 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.363e-06/0.5177, allocations: 6.844 kB / 0.8194 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.5178, allocations: 52.53 kB / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.5178, allocations: 7.875 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.5178, allocations: 1.281 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5178, allocations: 0 / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.5179, allocations: 32.48 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.5183, allocations: 215.4 kB / 0.8197 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.5184, allocations: 40.62 kB / 0.8197 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.463e-05/0.5184, allocations: 23.64 kB / 0.8198 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.5185, allocations: 0 / 0.8198 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.5185, allocations: 40.58 kB / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.5185, allocations: 0 / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002626/0.5188, allocations: 84.81 kB / 0.8199 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.5188, allocations: 52.02 kB / 0.8199 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.128e-05/0.5189, allocations: 101.3 kB / 0.82 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.5189, allocations: 25.7 kB / 0.82 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.5189, allocations: 82.12 kB / 0.8201 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.5189, allocations: 6.969 kB / 0.8201 GB, free: 15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.519, allocations: 16.77 kB / 0.8201 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.368e-05/0.5191, allocations: 313.6 kB / 0.8204 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.27e-05/0.5191, allocations: 15.09 kB / 0.8205 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.757e-05/0.5192, allocations: 24.44 kB / 0.8205 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.785e-05/0.5193, allocations: 38.8 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5193, allocations: 3.938 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000126/0.5194, allocations: 66.39 kB / 0.8206 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.5194, allocations: 5.094 kB / 0.8206 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5194, allocations: 4.516 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.5194, allocations: 5.375 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.17e-05/0.5195, allocations: 9.25 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.5195, allocations: 0 / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.5195, allocations: 9.891 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.5196, allocations: 1.688 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.807e-05/0.5196, allocations: 120 kB / 0.8207 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/0.5196, allocations: 3.281 kB / 0.8207 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.5198, allocations: 73.48 kB / 0.8208 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.5198, allocations: 0.7031 kB / 0.8208 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.5198, allocations: 2.844 kB / 0.8208 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.5198, allocations: 0 / 0.8208 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.5199, allocations: 129.5 kB / 0.8209 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5199, allocations: 0.5625 kB / 0.8209 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.478e-05/0.5199, allocations: 6.422 kB / 0.8209 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.52, allocations: 3.562 kB / 0.8209 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.52, allocations: 3.938 kB / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.52, allocations: 4.641 kB / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.52, allocations: 0 / 0.821 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.5201, allocations: 166.4 kB / 0.8211 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-06/0.5201, allocations: 9.609 kB / 0.8211 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.5201, allocations: 2.172 kB / 0.8211 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.5202, allocations: 5.031 kB / 0.8211 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.5202, allocations: 7.5 kB / 0.8211 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.5202, allocations: 0.7031 kB / 0.8211 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.228e-05/0.5202, allocations: 87.33 kB / 0.8212 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5202, allocations: 0 / 0.8212 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001472/0.5204, allocations: 1.156 kB / 0.8212 GB, free: 14.02 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003799/0.5208, allocations: 0.6933 MB / 0.8219 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001583/0.5209, allocations: 34.34 kB / 0.8219 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5209, allocations: 4.094 kB / 0.8219 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.722e-05/0.521, allocations: 21.2 kB / 0.822 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.5212, allocations: 4.203 kB / 0.822 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.5216, allocations: 138 kB / 0.8221 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.682e-05/0.5217, allocations: 68.8 kB / 0.8222 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.5217, allocations: 0.8438 kB / 0.8222 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.554e-05/0.5218, allocations: 16.16 kB / 0.8222 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.5218, allocations: 0 / 0.8222 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.5376, allocations: 1.821 MB / 0.824 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.689/7.227, allocations: 4.797 kB / 0.824 GB, free: 12.24 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.328160863835365] Failed to read output from testmodel.py, exit status != 0: 7.306202686857432 7.322100532 6.801173966 Calling exit ...