Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.0008186/0.0008186, 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.001373/0.001373, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9101/0.9101, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7882/0.7882, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_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.001028/0.001028, allocations: 69.39 kB / 0.7182 GB, free: 3.988 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5279/0.5289, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001461/0.5304, allocations: 0.6526 MB / 0.8185 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008056/0.5312, allocations: 0.842 MB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.5312, allocations: 4 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.5312, allocations: 3.938 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.902e-05/0.5313, allocations: 5.547 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.5315, allocations: 11.7 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.055e-05/0.5316, allocations: 24.8 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.409e-05/0.5317, allocations: 7.703 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.786e-05/0.5317, allocations: 10.86 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.241e-05/0.5317, allocations: 7.109 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.5318, allocations: 2.875 kB / 0.8194 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.351e-05/0.5318, allocations: 7.703 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.5318, allocations: 8.781 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.5318, allocations: 11.31 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.532, allocations: 34.03 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.532, allocations: 0 / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.573e-06/0.532, allocations: 0 / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.532, allocations: 3.938 kB / 0.8194 GB, free: 15.9 MB / 0.6198 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.0003634/0.5323, allocations: 262 kB / 0.8197 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5324, allocations: 11.03 kB / 0.8197 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.91e-05/0.5324, allocations: 31.41 kB / 0.8197 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.456e-05/0.5325, allocations: 5.438 kB / 0.8197 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.889e-05/0.5326, allocations: 115.6 kB / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.5326, allocations: 3.469 kB / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.5326, allocations: 384 / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.5327, allocations: 53.16 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.5327, allocations: 3.938 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.5327, allocations: 0 / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.5327, allocations: 1.344 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.471e-05/0.5328, allocations: 33.98 kB / 0.8199 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.5331, allocations: 210.5 kB / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.568e-05/0.5332, allocations: 47.72 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.903e-05/0.5332, allocations: 27.42 kB / 0.8202 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.5333, allocations: 0 / 0.8202 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.5333, allocations: 34.72 kB / 0.8202 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.5333, allocations: 0 / 0.8202 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000216/0.5335, allocations: 86.5 kB / 0.8203 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.5335, allocations: 53.34 kB / 0.8204 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.017e-05/0.5336, allocations: 101 kB / 0.8205 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.5336, allocations: 25.7 kB / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.5336, allocations: 83.98 kB / 0.8206 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.5336, allocations: 6.828 kB / 0.8206 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.5337, allocations: 17.75 kB / 0.8206 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.5337, allocations: 312.2 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-05/0.5338, allocations: 13.91 kB / 0.8209 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.172e-05/0.5338, allocations: 24.73 kB / 0.8209 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.425e-05/0.5339, allocations: 34.53 kB / 0.821 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5339, allocations: 3.938 kB / 0.821 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001091/0.534, allocations: 71.69 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.534, allocations: 6.344 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.534, allocations: 96 / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.5341, allocations: 5.266 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.5341, allocations: 9.484 kB / 0.8211 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.5341, allocations: 0 / 0.8211 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/0.5342, allocations: 9.125 kB / 0.8211 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.5342, allocations: 2 kB / 0.8211 GB, free: 14.35 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.271e-05/0.5342, allocations: 115.5 kB / 0.8212 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.5342, allocations: 1.312 kB / 0.8212 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.5344, allocations: 75.5 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.5344, allocations: 11.38 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5344, allocations: 0 / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.5344, allocations: 0.6094 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.5345, allocations: 127 kB / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5345, allocations: 4.75 kB / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.028e-05/0.5345, allocations: 9.062 kB / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5345, allocations: 0 / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.5345, allocations: 3.656 kB / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5345, allocations: 0.7969 kB / 0.8214 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5345, allocations: 7.969 kB / 0.8214 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.5347, allocations: 163.2 kB / 0.8216 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-06/0.5347, allocations: 3.953 kB / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.5347, allocations: 2.875 kB / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.26e-05/0.5347, allocations: 3.922 kB / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.5348, allocations: 8.234 kB / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.5348, allocations: 0 / 0.8216 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.77e-05/0.5348, allocations: 80.25 kB / 0.8217 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5348, allocations: 7.969 kB / 0.8217 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001397/0.5349, allocations: 5.5 kB / 0.8217 GB, free: 13.78 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.0003275/0.5352, allocations: 0.6874 MB / 0.8223 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.5354, allocations: 34.62 kB / 0.8224 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5354, allocations: 1.188 kB / 0.8224 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.385e-05/0.5354, allocations: 27.52 kB / 0.8224 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.5357, allocations: 6.156 kB / 0.8224 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.536, allocations: 132.1 kB / 0.8225 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.626e-05/0.5361, allocations: 61.5 kB / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.926e-05/0.5361, allocations: 0 / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.659e-05/0.5361, allocations: 17.66 kB / 0.8226 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.5361, allocations: 64 / 0.8226 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.5522, allocations: 1.807 MB / 0.8244 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.719/7.271, allocations: 9.922 kB / 0.8244 GB, free: 12.01 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Sin.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.126314405817538] Failed to read output from testmodel.py, exit status != 0: 7.345401657279581 7.354437305 6.820538811 Calling exit ...