Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.0008046/0.0008046, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.000791/0.000791, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8736/0.8736, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.706/0.706, allocations: 154.6 MB / 413.8 MB, free: 0.8008 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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.835e-05/2.038e-05, allocations: 3.562 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002519/0.002539, allocations: 2.036 MB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.004221, allocations: 1.145 MB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.004352, allocations: 4 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004829/0.004835, allocations: 123.2 kB / 0.6213 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.909e-05/0.004924, allocations: 47.58 kB / 0.6214 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006421/0.005566, allocations: 259.3 kB / 0.6216 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.005829, allocations: 319.2 kB / 0.6219 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.005965, allocations: 59.52 kB / 0.622 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.006095, allocations: 159.7 kB / 0.6222 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.006211, allocations: 95.75 kB / 0.6222 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.006242, allocations: 32 kB / 0.6223 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.006533, allocations: 243.6 kB / 0.6225 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.762e-05/0.006631, allocations: 95.67 kB / 0.6226 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.019e-05/0.006711, allocations: 87.78 kB / 0.6227 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.00721, allocations: 0.6154 MB / 0.6233 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.007215, allocations: 0 / 0.6233 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.323e-06/0.007216, allocations: 4 kB / 0.6233 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.007222, allocations: 0 / 0.6233 GB, free: 8.316 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009529/0.008175, allocations: 0.7331 MB / 0.624 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.008216, allocations: 12.03 kB / 0.624 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/0.008256, allocations: 50.67 kB / 0.6241 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.008311, allocations: 40.7 kB / 0.6241 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.008597, allocations: 258 kB / 0.6244 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.008613, allocations: 20.66 kB / 0.6244 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.008634, allocations: 16.38 kB / 0.6244 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003975/0.009031, allocations: 384.5 kB / 0.6248 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.009039, allocations: 192 / 0.6248 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.009057, allocations: 12.12 kB / 0.6248 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.009063, allocations: 7.938 kB / 0.6248 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.00944, allocations: 357.5 kB / 0.6251 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006575/0.0101, allocations: 0.5742 MB / 0.6257 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.01047, allocations: 315.7 kB / 0.626 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.01071, allocations: 273.8 kB / 0.6262 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.01073, allocations: 0 / 0.6262 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.01075, allocations: 34.56 kB / 0.6263 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.01075, allocations: 0 / 0.6263 GB, free: 5.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=14): time 0.0008451/0.01159, allocations: 0.8512 MB / 0.6271 GB, free: 4.109 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.01164, allocations: 136.5 kB / 0.6272 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.01191, allocations: 384.4 kB / 0.6276 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.01193, allocations: 29.81 kB / 0.6276 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.01201, allocations: 164.4 kB / 0.6278 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.01204, allocations: 55.62 kB / 0.6278 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.0121, allocations: 45.7 kB / 0.6279 GB, free: 3.266 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.01219, allocations: 342.8 kB / 0.6282 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.01249, allocations: 418.1 kB / 0.6286 GB, free: 2.477 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.01279, allocations: 422 kB / 0.629 GB, free: 2.027 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005438/0.01333, allocations: 0.7024 MB / 0.6297 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.01333, allocations: 0 / 0.6297 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007218/0.01406, allocations: 0.9194 MB / 0.6306 GB, free: 276 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.01416, allocations: 186.2 kB / 0.6308 GB, free: 52 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01417, allocations: 0 / 0.6308 GB, free: 52 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.01419, allocations: 0 / 0.6308 GB, free: 52 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.097e-05/0.01428, allocations: 27.97 kB / 0.6308 GB, free: 24 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.01428, allocations: 0 / 0.6308 GB, free: 24 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.01442, allocations: 51.8 kB / 0.6308 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.01444, allocations: 8 kB / 0.6309 GB, free: 15.96 MB / 0.6042 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 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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 0.0001681/0.01461, allocations: 255.8 kB / 0.6311 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.01464, allocations: 35.75 kB / 0.6311 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.01468, allocations: 30.88 kB / 0.6312 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.01468, allocations: 0 / 0.6312 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01469, allocations: 0 / 0.6312 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01469, allocations: 3.984 kB / 0.6312 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.01491, allocations: 280.4 kB / 0.6314 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.01491, allocations: 0 / 0.6314 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-05/0.01499, allocations: 31.97 kB / 0.6315 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01499, allocations: 0 / 0.6315 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.01501, allocations: 8 kB / 0.6315 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01501, allocations: 0 / 0.6315 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.01501, allocations: 0 / 0.6315 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005964/0.01561, allocations: 0.716 MB / 0.6322 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.01564, allocations: 39.73 kB / 0.6322 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.01567, allocations: 8 kB / 0.6322 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.01578, allocations: 23.97 kB / 0.6322 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.01588, allocations: 31.95 kB / 0.6323 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.01589, allocations: 8 kB / 0.6323 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001862/0.01608, allocations: 271 kB / 0.6325 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.01608, allocations: 0 / 0.6325 GB, free: 14.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003228/0.0164, allocations: 107.8 kB / 0.6326 GB, free: 14.01 MB / 0.6042 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 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.0009624/0.01736, allocations: 1.316 MB / 0.6339 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007582/0.01812, allocations: 1.093 MB / 0.635 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01812, allocations: 0 / 0.635 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000303/0.01842, allocations: 459.1 kB / 0.6354 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.01873, allocations: 67.97 kB / 0.6355 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004072/0.02281, allocations: 5.287 MB / 0.6407 GB, free: 5.277 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.02293, allocations: 178.1 kB / 0.6408 GB, free: 5.082 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.513e-05/0.02302, allocations: 25.89 kB / 0.6408 GB, free: 5.051 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.02312, allocations: 92.47 kB / 0.6409 GB, free: 4.961 MB / 0.6042 GB Notification: Performance of SimCode: time 1.393e-06/0.02312, allocations: 0 / 0.6409 GB, free: 4.961 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.04836, allocations: 9.885 MB / 0.6506 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.789/6.838, allocations: 2.812 kB / 0.6506 GB, free: 11.39 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.456732050515711] Failed to read output from testmodel.py, exit status != 0: 6.922604501247406 6.933535511 6.924536643 Calling exit ...