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: 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.0007296/0.0007296, 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.9334/0.9334, allocations: 230.6 MB / 256 MB, free: 9.605 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.7932/0.7932, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.0009047/0.0009047, allocations: 69.89 kB / 0.7182 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.5369, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001427/0.5383, allocations: 0.7522 MB / 0.8185 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007197/0.539, allocations: 0.8812 MB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.5391, allocations: 2.438 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.521e-05/0.5391, allocations: 9.562 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.638e-05/0.5392, allocations: 8.484 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.5394, allocations: 39.77 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.5395, allocations: 90.08 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.5396, allocations: 22.84 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.306e-05/0.5397, allocations: 42.86 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.06e-05/0.5398, allocations: 45.64 kB / 0.8196 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.5398, allocations: 8.219 kB / 0.8197 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.779e-05/0.5398, allocations: 7.312 kB / 0.8197 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.5398, allocations: 19.22 kB / 0.8197 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.5399, allocations: 35.16 kB / 0.8197 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.54, allocations: 84.25 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.54, allocations: 6.203 kB / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.54, allocations: 0 / 0.8198 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.54, allocations: 0 / 0.8198 GB, free: 15.71 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.0004593/0.5405, allocations: 320.5 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.5405, allocations: 7.281 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.5405, allocations: 40.39 kB / 0.8201 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.5406, allocations: 11.84 kB / 0.8202 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.5407, allocations: 116.7 kB / 0.8203 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.5407, allocations: 8.219 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.5407, allocations: 10.69 kB / 0.8203 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.5409, allocations: 108.2 kB / 0.8204 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.5409, allocations: 4 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5409, allocations: 4 kB / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5409, allocations: 0 / 0.8204 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.5411, allocations: 93.59 kB / 0.8205 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.5415, allocations: 307.9 kB / 0.8208 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.5419, allocations: 114.6 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.542, allocations: 58.55 kB / 0.8209 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.542, allocations: 0 / 0.8209 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.542, allocations: 32.22 kB / 0.821 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 7.32e-07/0.542, allocations: 0 / 0.821 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004044/0.5424, allocations: 186.1 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.5425, allocations: 52.66 kB / 0.8212 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.587e-05/0.5425, allocations: 131.5 kB / 0.8213 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.5426, allocations: 27.86 kB / 0.8214 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.5426, allocations: 97.5 kB / 0.8215 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.5426, allocations: 24.42 kB / 0.8215 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.512e-05/0.5427, allocations: 24.78 kB / 0.8215 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.5427, allocations: 317.1 kB / 0.8218 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.5428, allocations: 54.33 kB / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-05/0.5429, allocations: 42.81 kB / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.5431, allocations: 95.88 kB / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5431, allocations: 0 / 0.822 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002258/0.5433, allocations: 147.1 kB / 0.8221 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.5433, allocations: 5.406 kB / 0.8221 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.5433, allocations: 0.7031 kB / 0.8221 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.5434, allocations: 0 / 0.8221 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.205e-05/0.5434, allocations: 27.84 kB / 0.8222 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.5434, allocations: 11.19 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.142e-05/0.5435, allocations: 14.47 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.5435, allocations: 5.188 kB / 0.8222 GB, free: 13.91 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.37e-05/0.5436, allocations: 111.9 kB / 0.8223 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.5436, allocations: 8.016 kB / 0.8223 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.5436, allocations: 10.8 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.5436, allocations: 1.188 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5436, allocations: 5.016 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5436, allocations: 3.938 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.5437, allocations: 160.7 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5437, allocations: 1.312 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.715e-05/0.5438, allocations: 28.02 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.5438, allocations: 0 / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-06/0.5438, allocations: 2.422 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.5438, allocations: 0 / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5438, allocations: 6.484 kB / 0.8225 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.5441, allocations: 232.8 kB / 0.8227 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.5441, allocations: 10.86 kB / 0.8227 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.5441, allocations: 0 / 0.8227 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.112e-05/0.5442, allocations: 12.5 kB / 0.8228 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.5442, allocations: 30.47 kB / 0.8228 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.5442, allocations: 6.688 kB / 0.8228 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.723e-05/0.5443, allocations: 97.02 kB / 0.8229 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5443, allocations: 0 / 0.8229 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000153/0.5444, allocations: 15.31 kB / 0.8229 GB, free: 13.32 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.0004255/0.5448, allocations: 0.7673 MB / 0.8236 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.5451, allocations: 105.9 kB / 0.8237 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.5451, allocations: 3.938 kB / 0.8238 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.5452, allocations: 60.12 kB / 0.8238 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.5454, allocations: 13.5 kB / 0.8238 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.5467, allocations: 1.538 MB / 0.8253 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.781e-05/0.5468, allocations: 78.41 kB / 0.8254 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.725e-05/0.5468, allocations: 12.12 kB / 0.8254 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.5469, allocations: 30 kB / 0.8254 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.5469, allocations: 0 / 0.8254 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01527/0.5621, allocations: 3.35 MB / 0.8287 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.46/7.022, allocations: 1.938 kB / 0.8287 GB, free: 10.26 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: 9.925082826986909] Failed to read output from testmodel.py, exit status != 0: 7.099641834851354 7.1121748479999995 6.570286985 Calling exit ...