Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008477/0.0008477, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008107/0.0008107, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.888/0.888, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.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.698/0.698, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Subtract,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.53e-05, allocations: 11.84 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001582/0.001607, allocations: 0.7349 MB / 0.6188 GB, free: 12.9 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000855/0.002462, allocations: 0.8937 MB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.002504, allocations: 0 / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.002535, allocations: 11.86 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.646e-05/0.002611, allocations: 7.875 kB / 0.6197 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.002771, allocations: 47.81 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.002941, allocations: 87.77 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.003056, allocations: 31.95 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.003148, allocations: 47.91 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.634e-05/0.003215, allocations: 39.88 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.003242, allocations: 8 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.003254, allocations: 8 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.407e-05/0.003278, allocations: 19.92 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.003308, allocations: 23.91 kB / 0.62 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.003428, allocations: 99.69 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00343, allocations: 0 / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.132e-06/0.003431, allocations: 0 / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.003436, allocations: 0 / 0.6201 GB, free: 11.57 MB / 0.5886 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.0004661/0.003902, allocations: 318.1 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.003938, allocations: 12.03 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.989e-05/0.003968, allocations: 34.75 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.003993, allocations: 8.891 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.933e-05/0.004082, allocations: 121.6 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.004097, allocations: 8.375 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.004109, allocations: 4.375 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.004301, allocations: 113.9 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.004307, allocations: 0 / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.004319, allocations: 4 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.004324, allocations: 4 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.004543, allocations: 87.91 kB / 0.6208 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.004985, allocations: 303.7 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.00534, allocations: 118.6 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.005446, allocations: 60.75 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.005462, allocations: 0 / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.005479, allocations: 34.56 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.923e-06/0.005481, allocations: 3.984 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0003681/0.005849, allocations: 177.5 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.005877, allocations: 55.41 kB / 0.6215 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.005946, allocations: 125.7 kB / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.005958, allocations: 29.7 kB / 0.6217 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.005997, allocations: 92.06 kB / 0.6218 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.006016, allocations: 19.86 kB / 0.6218 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.006053, allocations: 25.7 kB / 0.6218 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.29e-05/0.006126, allocations: 322.8 kB / 0.6221 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-05/0.006215, allocations: 51.89 kB / 0.6222 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.419e-05/0.006299, allocations: 43.95 kB / 0.6222 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.006479, allocations: 100.8 kB / 0.6223 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.00648, allocations: 0 / 0.6223 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000206/0.006686, allocations: 141.5 kB / 0.6224 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.006699, allocations: 4 kB / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.006703, allocations: 0 / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.006714, allocations: 0 / 0.6224 GB, free: 9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.097e-05/0.006795, allocations: 31.91 kB / 0.6225 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.0068, allocations: 0 / 0.6225 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.00685, allocations: 19.92 kB / 0.6225 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.006859, allocations: 11.92 kB / 0.6225 GB, free: 8.938 MB / 0.5886 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.34e-05/0.006922, allocations: 114.8 kB / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.006938, allocations: 3.953 kB / 0.6226 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.006959, allocations: 12.44 kB / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006961, allocations: 0 / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.006965, allocations: 0 / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.006968, allocations: 0 / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.007093, allocations: 164.7 kB / 0.6228 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.007095, allocations: 4 kB / 0.6228 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.007156, allocations: 27.97 kB / 0.6228 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.007158, allocations: 0 / 0.6228 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.007166, allocations: 0 / 0.6228 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.007168, allocations: 4 kB / 0.6228 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.007169, allocations: 0 / 0.6228 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.007411, allocations: 243.8 kB / 0.623 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.007422, allocations: 7.953 kB / 0.6231 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.007435, allocations: 8 kB / 0.6231 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.167e-05/0.007497, allocations: 15.97 kB / 0.6231 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.007553, allocations: 15.98 kB / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.007559, allocations: 7.984 kB / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.594e-05/0.007595, allocations: 94.33 kB / 0.6232 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.007595, allocations: 0 / 0.6232 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001524/0.007748, allocations: 19.94 kB / 0.6232 GB, free: 8.141 MB / 0.5886 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.0004023/0.00815, allocations: 0.7671 MB / 0.624 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.008381, allocations: 103.9 kB / 0.6241 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.008383, allocations: 0 / 0.6241 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.008485, allocations: 67.88 kB / 0.6241 GB, free: 7.18 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.008713, allocations: 9.875 kB / 0.6241 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.01021, allocations: 1.527 MB / 0.6256 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.498e-05/0.01026, allocations: 75.33 kB / 0.6257 GB, free: 5.465 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.859e-05/0.01032, allocations: 16.17 kB / 0.6257 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.01039, allocations: 28.48 kB / 0.6257 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of SimCode: time 9.11e-07/0.01039, allocations: 7.938 kB / 0.6257 GB, free: 5.414 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01594/0.02633, allocations: 3.471 MB / 0.6291 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.635/6.661, allocations: 15.27 kB / 0.6291 GB, free: 2.105 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Integers_Validation_Subtract.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.239975959993899] Failed to read output from testmodel.py, exit status != 0: 6.74474164377898 6.7524161209999995 6.747238508 Calling exit ...