Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.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.0007811/0.0007811, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001335/0.001335, allocations: 207.6 kB / 22.25 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.909/0.909, allocations: 230.6 MB / 256 MB, free: 9.598 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.7653/0.7653, allocations: 203.5 MB / 0.5039 GB, free: 10.66 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.Integers.Validation.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Add,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Add",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.001365/0.001365, allocations: 66.58 kB / 0.7178 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5722/0.5736, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.00152/0.5751, allocations: 0.7477 MB / 0.8181 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007229/0.5758, allocations: 0.8882 MB / 0.819 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/0.5759, allocations: 1.656 kB / 0.819 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/0.5759, allocations: 4.828 kB / 0.819 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.172e-05/0.576, allocations: 11 kB / 0.819 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001774/0.5762, allocations: 51.52 kB / 0.819 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.5763, allocations: 80.84 kB / 0.8191 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.5764, allocations: 22.67 kB / 0.8191 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.106e-05/0.5765, allocations: 39.2 kB / 0.8192 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.5766, allocations: 42.31 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.5766, allocations: 12.28 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.5766, allocations: 11.31 kB / 0.8192 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.5767, allocations: 18.59 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.146e-05/0.5767, allocations: 27.2 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.5768, allocations: 88.86 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5768, allocations: 0 / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.5769, allocations: 5.094 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.5769, allocations: 0 / 0.8194 GB, free: 15.91 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004932/0.5773, allocations: 320.1 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.5774, allocations: 11.23 kB / 0.8197 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.446e-05/0.5774, allocations: 39.66 kB / 0.8197 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.5775, allocations: 7.266 kB / 0.8197 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.5776, allocations: 121.4 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.5776, allocations: 2.188 kB / 0.8199 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.5776, allocations: 12.52 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.5778, allocations: 108.4 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.5778, allocations: 1.156 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.5778, allocations: 0.5625 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5778, allocations: 2.344 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.578, allocations: 96.41 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.5784, allocations: 305.7 kB / 0.8204 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003622/0.5788, allocations: 112.5 kB / 0.8205 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.5789, allocations: 56.86 kB / 0.8205 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.5789, allocations: 1.156 kB / 0.8205 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.5789, allocations: 40.48 kB / 0.8206 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.5789, allocations: 1.844 kB / 0.8206 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003942/0.5793, allocations: 187 kB / 0.8207 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.5794, allocations: 52.11 kB / 0.8208 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.789e-05/0.5794, allocations: 127 kB / 0.8209 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.5794, allocations: 26.5 kB / 0.8209 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.5795, allocations: 97.48 kB / 0.821 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.5795, allocations: 27.22 kB / 0.8211 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.5796, allocations: 27.59 kB / 0.8211 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5797, allocations: 316.2 kB / 0.8214 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.5798, allocations: 42.67 kB / 0.8214 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.5799, allocations: 53.05 kB / 0.8215 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.5801, allocations: 99.98 kB / 0.8216 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.5801, allocations: 1.469 kB / 0.8216 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002409/0.5804, allocations: 137 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.5804, allocations: 3.062 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.5804, allocations: 2.125 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.5804, allocations: 0 / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.787e-05/0.5805, allocations: 25.91 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.5805, allocations: 7 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.552e-05/0.5805, allocations: 19.27 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.5805, allocations: 9.031 kB / 0.8218 GB, free: 14.11 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: 3 (reaToInt1.y,reaToInt.y,add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.713e-05/0.5806, allocations: 114 kB / 0.8219 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.5806, allocations: 6.422 kB / 0.8219 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.693e-05/0.5806, allocations: 9.969 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5806, allocations: 7.5 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5806, allocations: 3.938 kB / 0.8219 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.5806, allocations: 4.656 kB / 0.8219 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.5808, allocations: 155.4 kB / 0.8221 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.5808, allocations: 3.938 kB / 0.8221 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/0.5808, allocations: 28 kB / 0.8221 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.5808, allocations: 1.531 kB / 0.8221 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.5809, allocations: 1.219 kB / 0.8221 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.5809, allocations: 1.156 kB / 0.8221 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5809, allocations: 4.594 kB / 0.8221 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.5811, allocations: 236.6 kB / 0.8223 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.007e-05/0.5811, allocations: 7.453 kB / 0.8223 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.5812, allocations: 4 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.5812, allocations: 13.19 kB / 0.8223 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.5813, allocations: 24.75 kB / 0.8224 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.79e-06/0.5813, allocations: 4.016 kB / 0.8224 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.953e-05/0.5813, allocations: 92.56 kB / 0.8225 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5813, allocations: 0 / 0.8225 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000145/0.5815, allocations: 24 kB / 0.8225 GB, free: 13.52 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: 3 (add1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0004504/0.5819, allocations: 0.7673 MB / 0.8232 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002454/0.5822, allocations: 102.8 kB / 0.8233 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.5822, allocations: 0 / 0.8233 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.5823, allocations: 69.17 kB / 0.8234 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.5825, allocations: 11.97 kB / 0.8234 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.5839, allocations: 1.533 MB / 0.8249 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.939e-05/0.5839, allocations: 80.77 kB / 0.825 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.996e-05/0.584, allocations: 12.17 kB / 0.825 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.233e-05/0.584, allocations: 31.47 kB / 0.825 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of SimCode: time 7.11e-07/0.584, allocations: 0 / 0.825 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0169/0.6009, allocations: 3.338 MB / 0.8283 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.822/7.422, allocations: 11.59 kB / 0.8283 GB, free: 10.46 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add_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_Integers_Validation_Add.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.367042739875615] Failed to read output from testmodel.py, exit status != 0: 7.501647611148655 7.513597 6.934853008 Calling exit ...