Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.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.000737/0.000737, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008152/0.0008152, allocations: 213.7 kB / 22.25 MB, free: 3.711 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.9747/0.9747, allocations: 230.6 MB / 256 MB, free: 9.809 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.8192/0.8192, allocations: 203.8 MB / 0.5042 GB, free: 10.69 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.Integers.Validation.Subtract,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract",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.001174/0.001174, allocations: 66.2 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5693/0.5704, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001429/0.5719, allocations: 0.7791 MB / 0.8186 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006785/0.5725, allocations: 0.8862 MB / 0.8195 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.5726, allocations: 1.156 kB / 0.8195 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.5726, allocations: 9.094 kB / 0.8195 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.269e-05/0.5727, allocations: 19.03 kB / 0.8195 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001481/0.5728, allocations: 41.77 kB / 0.8196 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.573, allocations: 90.45 kB / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.5731, allocations: 26.56 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.746e-05/0.5731, allocations: 37.19 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.5732, allocations: 46.48 kB / 0.8198 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.5732, allocations: 8.562 kB / 0.8198 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.5733, allocations: 7.719 kB / 0.8198 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.5733, allocations: 19.77 kB / 0.8198 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.5733, allocations: 39.52 kB / 0.8198 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.5735, allocations: 88.14 kB / 0.8199 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5735, allocations: 8.547 kB / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5735, allocations: 0 / 0.8199 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.5735, allocations: 0 / 0.8199 GB, free: 15.86 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.0004565/0.5739, allocations: 318 kB / 0.8202 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.574, allocations: 10.55 kB / 0.8202 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.574, allocations: 39.75 kB / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.574, allocations: 8.203 kB / 0.8203 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.5744, allocations: 116.4 kB / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.5744, allocations: 12.78 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.5744, allocations: 12.05 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/0.5746, allocations: 104 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.5746, allocations: 0 / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.5746, allocations: 0.6094 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.5746, allocations: 2.375 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.5749, allocations: 102.8 kB / 0.8206 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.5753, allocations: 321.2 kB / 0.8209 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.5757, allocations: 110.4 kB / 0.821 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.5758, allocations: 62.28 kB / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.5758, allocations: 0 / 0.8211 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.5758, allocations: 33.19 kB / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 6.91e-07/0.5758, allocations: 0 / 0.8211 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004007/0.5762, allocations: 186.2 kB / 0.8213 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.5762, allocations: 52.06 kB / 0.8213 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/0.5763, allocations: 124.4 kB / 0.8215 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.5763, allocations: 30.39 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.5764, allocations: 94.06 kB / 0.8216 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.5764, allocations: 28.12 kB / 0.8216 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.5764, allocations: 27.73 kB / 0.8216 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.5765, allocations: 316.2 kB / 0.8219 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.5766, allocations: 51.12 kB / 0.822 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-05/0.5767, allocations: 43.61 kB / 0.822 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.5769, allocations: 97.09 kB / 0.8221 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5769, allocations: 0 / 0.8221 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002348/0.5772, allocations: 140.1 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.5772, allocations: 7.844 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.5772, allocations: 0 / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.5772, allocations: 0 / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.824e-05/0.5773, allocations: 28.3 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.5773, allocations: 5.562 kB / 0.8223 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.5773, allocations: 15.44 kB / 0.8223 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.5773, allocations: 5.172 kB / 0.8223 GB, free: 14.06 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,sub.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.751e-05/0.5774, allocations: 114.4 kB / 0.8224 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.5774, allocations: 10.36 kB / 0.8224 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.5775, allocations: 9.734 kB / 0.8224 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5775, allocations: 6.469 kB / 0.8224 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5775, allocations: 7.875 kB / 0.8225 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.5775, allocations: 0.7969 kB / 0.8225 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.5776, allocations: 170.9 kB / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5776, allocations: 0 / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.537e-05/0.5777, allocations: 23.64 kB / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.5777, allocations: 0 / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.5777, allocations: 5.984 kB / 0.8226 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5777, allocations: 2.078 kB / 0.8226 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5777, allocations: 3.938 kB / 0.8227 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.578, allocations: 231.9 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.578, allocations: 7.266 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.578, allocations: 1.156 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.391e-05/0.5781, allocations: 15.89 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.5781, allocations: 36.94 kB / 0.8229 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.5781, allocations: 0 / 0.8229 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.889e-05/0.5782, allocations: 96.69 kB / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5782, allocations: 0 / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001571/0.5783, allocations: 16 kB / 0.823 GB, free: 13.46 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 (sub.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.0004655/0.5788, allocations: 0.7695 MB / 0.8238 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.5791, allocations: 106.6 kB / 0.8239 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.5791, allocations: 0 / 0.8239 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.5792, allocations: 64.42 kB / 0.824 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.5794, allocations: 18.33 kB / 0.824 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.5808, allocations: 1.531 MB / 0.8255 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.581, allocations: 0.6979 MB / 0.8261 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.598e-05/0.5811, allocations: 16.12 kB / 0.8262 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.5812, allocations: 26.98 kB / 0.8262 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of SimCode: time 8.71e-07/0.5812, allocations: 0 / 0.8262 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.6053, allocations: 2.838 MB / 0.829 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.514/7.119, allocations: 1.125 kB / 0.829 GB, free: 10.23 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.163268625969067] Failed to read output from testmodel.py, exit status != 0: 7.194031517952681 7.204195194 6.628788535 Calling exit ...