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.0009935/0.0009935, 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.0009386/0.0009386, allocations: 211.6 kB / 22.25 MB, free: 3.586 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.9582/0.9582, allocations: 230.6 MB / 256 MB, free: 9.422 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.824/0.824, allocations: 203.5 MB / 0.5039 GB, free: 10.68 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.001295/0.001295, allocations: 70.92 kB / 0.7178 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5536/0.5548, allocations: 102 MB / 0.8174 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001859/0.5567, allocations: 0.6502 MB / 0.8181 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008495/0.5576, allocations: 0.8081 MB / 0.8189 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.5576, allocations: 0 / 0.8189 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.5576, allocations: 7.938 kB / 0.8189 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.548e-05/0.5577, allocations: 9.531 kB / 0.8189 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.5579, allocations: 13.28 kB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.583e-05/0.558, allocations: 20.97 kB / 0.8189 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.5581, allocations: 11.09 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.428e-05/0.5581, allocations: 4.859 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.829e-05/0.5582, allocations: 14.72 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.5582, allocations: 2.906 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.342e-05/0.5582, allocations: 2.781 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.5583, allocations: 9.062 kB / 0.8189 GB, free: 160 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.284e-05/0.5583, allocations: 11.44 kB / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.5584, allocations: 28.69 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5584, allocations: 0 / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of FrontEnd: time 3.105e-06/0.5584, allocations: 1.438 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.5584, allocations: 3.938 kB / 0.819 GB, free: 140 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.0003949/0.5588, allocations: 269 kB / 0.8192 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.5589, allocations: 9.031 kB / 0.8193 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.11e-05/0.5589, allocations: 30.75 kB / 0.8193 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.656e-05/0.559, allocations: 6.656 kB / 0.8193 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.9e-05/0.5591, allocations: 114.6 kB / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.5591, allocations: 6.281 kB / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.5591, allocations: 384 / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.5593, allocations: 49.66 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.5593, allocations: 4.641 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.5593, allocations: 0 / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.5593, allocations: 1.531 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.5594, allocations: 32.52 kB / 0.8195 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.5597, allocations: 213.9 kB / 0.8197 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.5599, allocations: 48.22 kB / 0.8197 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.54e-05/0.5599, allocations: 25.12 kB / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.5599, allocations: 0.7031 kB / 0.8198 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.56, allocations: 30.56 kB / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.724e-06/0.56, allocations: 3.219 kB / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000279/0.5602, allocations: 81.81 kB / 0.8199 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.5603, allocations: 58.44 kB / 0.8199 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.943e-05/0.5603, allocations: 101.3 kB / 0.82 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.5604, allocations: 25.7 kB / 0.82 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.5604, allocations: 84.89 kB / 0.8201 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.5604, allocations: 6.359 kB / 0.8201 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.5605, allocations: 11.2 kB / 0.8201 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.5606, allocations: 317.4 kB / 0.8204 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.5606, allocations: 15.8 kB / 0.8205 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.514e-05/0.5607, allocations: 21.34 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.197e-05/0.5608, allocations: 39.56 kB / 0.8205 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5608, allocations: 3.938 kB / 0.8205 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001193/0.5609, allocations: 68.7 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.5609, allocations: 7.344 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5609, allocations: 0 / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.5609, allocations: 4.094 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.561, allocations: 13.69 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.561, allocations: 0.5625 kB / 0.8206 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.561, allocations: 11.98 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.5611, allocations: 0.6562 kB / 0.8206 GB, free: 14.57 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 6.86e-05/0.5611, allocations: 114.5 kB / 0.8207 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.5611, allocations: 2.312 kB / 0.8207 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.5613, allocations: 77.17 kB / 0.8208 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.5613, allocations: 0 / 0.8208 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5613, allocations: 0 / 0.8208 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.5613, allocations: 0.7969 kB / 0.8208 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.5614, allocations: 130.5 kB / 0.8209 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.5614, allocations: 10.83 kB / 0.8209 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.5615, allocations: 7.953 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.5615, allocations: 0.7969 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.5615, allocations: 0 / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.5615, allocations: 0 / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5615, allocations: 0.7188 kB / 0.821 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.5616, allocations: 169.1 kB / 0.8211 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.5616, allocations: 4.75 kB / 0.8211 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.5617, allocations: 2.719 kB / 0.8211 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.5617, allocations: 4.984 kB / 0.8211 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.5617, allocations: 5.141 kB / 0.8211 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.5617, allocations: 4 kB / 0.8211 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.635e-05/0.5618, allocations: 80.83 kB / 0.8212 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5618, allocations: 0 / 0.8212 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001432/0.5619, allocations: 7.812 kB / 0.8212 GB, free: 14.01 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.0003695/0.5623, allocations: 0.6911 MB / 0.8219 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001504/0.5624, allocations: 34 kB / 0.8219 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5624, allocations: 0 / 0.8219 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.62e-05/0.5625, allocations: 29.64 kB / 0.822 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.5628, allocations: 8.484 kB / 0.822 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.5631, allocations: 136.7 kB / 0.8221 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.757e-05/0.5632, allocations: 60.06 kB / 0.8222 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.549e-05/0.5632, allocations: 1.844 kB / 0.8222 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.5632, allocations: 17.83 kB / 0.8222 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.5632, allocations: 0 / 0.8222 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.5831, allocations: 1.816 MB / 0.8239 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.309/7.892, allocations: 15.22 kB / 0.824 GB, free: 12.23 MB / 0.6198 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.871387996710837] Failed to read output from testmodel.py, exit status != 0: 7.970883904956281 7.987224026 7.425767052 Calling exit ...