Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.000777/0.000777, 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.001509/0.001509, 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.9361/0.9361, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7634/0.7634, allocations: 154.6 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Subtract,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.277e-06/3.277e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/3.01e-05, allocations: 5.672 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001505/0.001535, allocations: 0.6908 MB / 0.6188 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008734/0.002408, allocations: 0.8237 MB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.002453, allocations: 0 / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.00249, allocations: 3.938 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.944e-05/0.00257, allocations: 19.86 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 7.515e-05/0.002645, allocations: 11.98 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.385e-05/0.002739, allocations: 43.86 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.00288, allocations: 11.92 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.905e-05/0.002979, allocations: 19.98 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.423e-05/0.003023, allocations: 15.92 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.003048, allocations: 4 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-06/0.003056, allocations: 4 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.003079, allocations: 11.98 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.003105, allocations: 7.984 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.003223, allocations: 43.86 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.003227, allocations: 8 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.623e-06/0.003229, allocations: 0 / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.003234, allocations: 0 / 0.6198 GB, free: 11.94 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004733/0.003707, allocations: 286.2 kB / 0.6201 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.431e-05/0.003772, allocations: 9.469 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.646e-05/0.003808, allocations: 30.75 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.393e-05/0.003832, allocations: 8.891 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.003933, allocations: 121.6 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.003945, allocations: 384 / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.003958, allocations: 8.375 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.004142, allocations: 66.22 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.004151, allocations: 192 / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.004161, allocations: 384 / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.004167, allocations: 4.125 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.004312, allocations: 63.92 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.004631, allocations: 232.1 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.004755, allocations: 54.48 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.089e-05/0.004836, allocations: 40.91 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.004848, allocations: 3.938 kB / 0.6207 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.004867, allocations: 34.56 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.004868, allocations: 0 / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003013/0.005169, allocations: 133.7 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.005199, allocations: 55.34 kB / 0.6209 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.00527, allocations: 113.8 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.005284, allocations: 25.7 kB / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.179e-05/0.005326, allocations: 88.08 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.005347, allocations: 15.89 kB / 0.6211 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.005373, allocations: 17.66 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.474e-05/0.005468, allocations: 322.8 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.407e-05/0.005542, allocations: 27.97 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.607e-05/0.005608, allocations: 35.94 kB / 0.6215 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.005746, allocations: 68.8 kB / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.005748, allocations: 0 / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00017/0.005918, allocations: 109.4 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.005934, allocations: 4 kB / 0.6217 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.005941, allocations: 4 kB / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.005954, allocations: 0 / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.00604, allocations: 11.98 kB / 0.6217 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.006046, allocations: 4 kB / 0.6217 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/0.006085, allocations: 11.98 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.006092, allocations: 0 / 0.6217 GB, free: 9.773 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.227e-05/0.006164, allocations: 118.8 kB / 0.6218 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.006177, allocations: 3.938 kB / 0.6218 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.006203, allocations: 8 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.006205, allocations: 0 / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.006211, allocations: 0 / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.006214, allocations: 0 / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.006348, allocations: 136.8 kB / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.00635, allocations: 4 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.006394, allocations: 23.91 kB / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.006395, allocations: 0 / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.006403, allocations: 0 / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.006404, allocations: 0 / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.006405, allocations: 0 / 0.622 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.006628, allocations: 199.4 kB / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-06/0.006637, allocations: 7.938 kB / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.00665, allocations: 0 / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.208e-05/0.006702, allocations: 15.97 kB / 0.6222 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.006746, allocations: 3.938 kB / 0.6222 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.006749, allocations: 4 kB / 0.6222 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.497e-05/0.006784, allocations: 87.58 kB / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006784, allocations: 0 / 0.6223 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000141/0.006925, allocations: 8 kB / 0.6223 GB, free: 9.09 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004347/0.00736, allocations: 0.7318 MB / 0.623 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.007558, allocations: 63.92 kB / 0.6231 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.007563, allocations: 8 kB / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.271e-05/0.007636, allocations: 36.3 kB / 0.6231 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.007889, allocations: 10.36 kB / 0.6231 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.00827, allocations: 154.5 kB / 0.6233 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.322e-05/0.008323, allocations: 67.28 kB / 0.6233 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.008349, allocations: 4.078 kB / 0.6233 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.008391, allocations: 24.48 kB / 0.6234 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of SimCode: time 4e-07/0.008392, allocations: 0 / 0.6234 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.02446, allocations: 2.303 MB / 0.6256 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.74/6.765, allocations: 12.28 kB / 0.6256 GB, free: 5.746 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.598681283183396] Failed to read output from testmodel.py, exit status != 0: 6.847711157985032 6.856858891 6.851736281 Calling exit ...