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.0007966/0.0007966, allocations: 105.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.0009859/0.0009859, allocations: 219.1 kB / 22.26 MB, free: 3.699 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 1.025/1.025, allocations: 230.6 MB / 256 MB, free: 9.812 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.8301/0.8301, allocations: 203.8 MB / 0.5042 GB, free: 10.73 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.0009567/0.0009567, allocations: 67.86 kB / 0.7182 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5293/0.5302, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001396/0.5316, allocations: 0.7741 MB / 0.8186 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006207/0.5323, allocations: 0.8953 MB / 0.8195 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.5323, allocations: 0.7188 kB / 0.8195 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.5323, allocations: 5.25 kB / 0.8195 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.733e-05/0.5324, allocations: 17.03 kB / 0.8195 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001543/0.5326, allocations: 39.05 kB / 0.8196 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.5327, allocations: 93.44 kB / 0.8196 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.5328, allocations: 20.5 kB / 0.8197 GB, free: 0 / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.483e-05/0.5329, allocations: 36.06 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.266e-05/0.5329, allocations: 47.52 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.533, allocations: 13.06 kB / 0.8198 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.533, allocations: 7.062 kB / 0.8198 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.533, allocations: 22.61 kB / 0.8198 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.533, allocations: 39.58 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.5332, allocations: 85.08 kB / 0.8199 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.5332, allocations: 3.938 kB / 0.8199 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5332, allocations: 0 / 0.8199 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.5332, allocations: 4 kB / 0.8199 GB, free: 15.87 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.0004202/0.5336, allocations: 318.6 kB / 0.8202 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.5336, allocations: 9.594 kB / 0.8202 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.153e-05/0.5337, allocations: 39.16 kB / 0.8203 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.576e-05/0.5337, allocations: 13.47 kB / 0.8203 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.586e-05/0.5338, allocations: 119.6 kB / 0.8204 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.5338, allocations: 4.891 kB / 0.8204 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.5338, allocations: 16.97 kB / 0.8204 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.534, allocations: 102.4 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.534, allocations: 0 / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.534, allocations: 0 / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.534, allocations: 0 / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002011/0.5342, allocations: 98.61 kB / 0.8206 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/0.5347, allocations: 324.5 kB / 0.8209 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003447/0.5351, allocations: 112.8 kB / 0.821 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.5353, allocations: 61.27 kB / 0.8211 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.5354, allocations: 0 / 0.8211 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.5354, allocations: 33.95 kB / 0.8211 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 6.71e-07/0.5354, allocations: 0 / 0.8211 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0003861/0.5358, allocations: 192.6 kB / 0.8213 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.5358, allocations: 53.31 kB / 0.8213 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.77e-05/0.5358, allocations: 121.1 kB / 0.8215 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.5359, allocations: 25.7 kB / 0.8215 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.5359, allocations: 98.75 kB / 0.8216 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.5359, allocations: 26.08 kB / 0.8216 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.5359, allocations: 24.25 kB / 0.8216 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.536, allocations: 318 kB / 0.8219 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.446e-05/0.5361, allocations: 47.67 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.903e-05/0.5362, allocations: 45.06 kB / 0.822 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.5364, allocations: 100.2 kB / 0.8221 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5364, allocations: 0 / 0.8221 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002233/0.5366, allocations: 138.7 kB / 0.8222 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.5366, allocations: 5.156 kB / 0.8223 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5366, allocations: 5.656 kB / 0.8223 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.5366, allocations: 0.5156 kB / 0.8223 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.5367, allocations: 28.28 kB / 0.8223 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.5367, allocations: 12 kB / 0.8223 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.5368, allocations: 17.05 kB / 0.8223 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.5368, allocations: 2.594 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 5.914e-05/0.5368, allocations: 121.8 kB / 0.8224 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.5369, allocations: 10.17 kB / 0.8224 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.077e-05/0.5369, allocations: 8.984 kB / 0.8224 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.5369, allocations: 0.5156 kB / 0.8224 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5369, allocations: 6.438 kB / 0.8225 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.5369, allocations: 4.75 kB / 0.8225 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.537, allocations: 164.9 kB / 0.8226 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.537, allocations: 3.5 kB / 0.8226 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-05/0.5371, allocations: 22.66 kB / 0.8226 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.5371, allocations: 0 / 0.8226 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.5371, allocations: 5.562 kB / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.5371, allocations: 0 / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5371, allocations: 5.625 kB / 0.8227 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002418/0.5373, allocations: 234 kB / 0.8229 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.5373, allocations: 8.922 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.5374, allocations: 3.938 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.408e-05/0.5374, allocations: 16.25 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.5375, allocations: 28.45 kB / 0.8229 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.5375, allocations: 7.109 kB / 0.8229 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4e-05/0.5375, allocations: 99.8 kB / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5375, allocations: 0 / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001531/0.5377, allocations: 15.84 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.0004281/0.5381, allocations: 0.7636 MB / 0.8238 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.5383, allocations: 104.3 kB / 0.8239 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.5383, allocations: 1.531 kB / 0.8239 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.5385, allocations: 62.98 kB / 0.824 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.5387, allocations: 8.969 kB / 0.824 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.54, allocations: 1.532 MB / 0.8255 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.5401, allocations: 0.6912 MB / 0.8261 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.829e-05/0.5402, allocations: 14.45 kB / 0.8261 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.5403, allocations: 31.52 kB / 0.8262 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5403, allocations: 3.938 kB / 0.8262 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.5582, allocations: 2.846 MB / 0.829 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.593/7.152, allocations: 6.312 kB / 0.829 GB, free: 10.24 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.278387151192874] Failed to read output from testmodel.py, exit status != 0: 7.22992425900884 7.24335862 6.707979782 Calling exit ...