Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.0007575/0.0007575, allocations: 101.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.0009058/0.0009058, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9756/0.9756, allocations: 230.6 MB / 256 MB, free: 9.59 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.7998/0.7998, allocations: 203.5 MB / 0.5039 GB, free: 10.71 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.Sources.Validation.Sin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin",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.0009798/0.0009798, allocations: 70.5 kB / 0.7178 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5607/0.5616, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001411/0.5631, allocations: 0.5978 MB / 0.818 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007642/0.5638, allocations: 0.8432 MB / 0.8188 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.5638, allocations: 0 / 0.8188 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.5639, allocations: 4.594 kB / 0.8188 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.5639, allocations: 0 / 0.8188 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.5641, allocations: 22.44 kB / 0.8188 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.526e-05/0.5642, allocations: 16.41 kB / 0.8189 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.229e-05/0.5642, allocations: 2.156 kB / 0.8189 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.5644, allocations: 14.47 kB / 0.8189 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.931e-05/0.5644, allocations: 8.688 kB / 0.8189 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.5644, allocations: 5.188 kB / 0.8189 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.288e-05/0.5645, allocations: 8.109 kB / 0.8189 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.5645, allocations: 4.547 kB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.5645, allocations: 10.5 kB / 0.8189 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.5646, allocations: 24.33 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5646, allocations: 0 / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5646, allocations: 3.938 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.5646, allocations: 0 / 0.8189 GB, free: 176 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003232/0.5649, allocations: 255.1 kB / 0.8192 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.565, allocations: 7.844 kB / 0.8192 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.565, allocations: 39.84 kB / 0.8192 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.5651, allocations: 9.984 kB / 0.8192 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.791e-05/0.5652, allocations: 106.8 kB / 0.8193 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.5652, allocations: 4.312 kB / 0.8193 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-06/0.5652, allocations: 5.547 kB / 0.8193 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.5653, allocations: 40.33 kB / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.5654, allocations: 3.938 kB / 0.8194 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.5654, allocations: 4.562 kB / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5654, allocations: 0 / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.447e-05/0.5654, allocations: 21.88 kB / 0.8194 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.5655, allocations: 120.7 kB / 0.8195 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.019e-05/0.5656, allocations: 27.12 kB / 0.8196 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.5656, allocations: 10.23 kB / 0.8196 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.5656, allocations: 0 / 0.8196 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.5657, allocations: 32.75 kB / 0.8196 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 6.92e-07/0.5657, allocations: 0 / 0.8196 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000172/0.5658, allocations: 60.88 kB / 0.8197 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.5658, allocations: 55.53 kB / 0.8197 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.576e-05/0.5659, allocations: 103 kB / 0.8198 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.5659, allocations: 26.98 kB / 0.8198 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.821e-05/0.566, allocations: 83.44 kB / 0.8199 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.566, allocations: 7.953 kB / 0.8199 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.566, allocations: 12.56 kB / 0.8199 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.189e-05/0.5661, allocations: 311.5 kB / 0.8202 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.328e-05/0.5661, allocations: 7.609 kB / 0.8202 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.072e-05/0.5661, allocations: 10.16 kB / 0.8202 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.564e-05/0.5662, allocations: 21.06 kB / 0.8203 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5662, allocations: 0 / 0.8203 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.029e-05/0.5663, allocations: 52.16 kB / 0.8203 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.5663, allocations: 7.969 kB / 0.8203 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5663, allocations: 1.906 kB / 0.8203 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.5663, allocations: 0 / 0.8203 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.042e-05/0.5663, allocations: 5.203 kB / 0.8203 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.5664, allocations: 0 / 0.8203 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.5664, allocations: 3.484 kB / 0.8203 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.5664, allocations: 7.938 kB / 0.8203 GB, free: 14.72 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 (1): * Single equations (assignments): 1 * 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.902e-05/0.5664, allocations: 110.6 kB / 0.8204 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-06/0.5664, allocations: 3.938 kB / 0.8204 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.5665, allocations: 16.41 kB / 0.8205 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5665, allocations: 3.469 kB / 0.8205 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5665, allocations: 0 / 0.8205 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.5665, allocations: 0 / 0.8205 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.245e-05/0.5665, allocations: 119.1 kB / 0.8206 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5666, allocations: 0.75 kB / 0.8206 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.112e-05/0.5666, allocations: 5.344 kB / 0.8206 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.5666, allocations: 7.938 kB / 0.8206 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.5666, allocations: 0 / 0.8206 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.5666, allocations: 1.094 kB / 0.8206 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5666, allocations: 0 / 0.8206 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.5667, allocations: 82.3 kB / 0.8207 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.001e-05/0.5667, allocations: 5.906 kB / 0.8207 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.5667, allocations: 4.641 kB / 0.8207 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.26e-05/0.5667, allocations: 3.656 kB / 0.8207 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.5667, allocations: 1.453 kB / 0.8207 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.5667, allocations: 5.25 kB / 0.8207 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.939e-05/0.5668, allocations: 80.39 kB / 0.8208 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5668, allocations: 0 / 0.8208 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001175/0.5669, allocations: 3.281 kB / 0.8208 GB, free: 14.26 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 (1): * Single equations (assignments): 1 * 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.0002919/0.5672, allocations: 0.6088 MB / 0.8214 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.993e-05/0.5673, allocations: 14.11 kB / 0.8214 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5673, allocations: 4.094 kB / 0.8214 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.09e-05/0.5673, allocations: 10.88 kB / 0.8214 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.5674, allocations: 2.156 kB / 0.8214 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.5678, allocations: 142.1 kB / 0.8215 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.903e-05/0.5678, allocations: 57.28 kB / 0.8216 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.5678, allocations: 3.812 kB / 0.8216 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.5679, allocations: 12.12 kB / 0.8216 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.5679, allocations: 0 / 0.8216 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.5861, allocations: 1.628 MB / 0.8232 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.876/7.462, allocations: 13.98 kB / 0.8232 GB, free: 12.57 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.438878977671266] Failed to read output from testmodel.py, exit status != 0: 7.538877429906279 7.55213978 6.985336877 Calling exit ...