Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.618/1.618, allocations: 289.8 MB / 297.1 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001233, allocations: 183.9 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.2 MB / 0.6256 GB, free: 5.816 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009587/0.0009584, allocations: 101.1 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.614e-06/7.634e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8785/0.8786, allocations: 116.3 MB / 0.9726 GB, free: 68.33 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.168/2.046, allocations: 470.2 MB / 1.432 GB, free: 20.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/2.047, allocations: 92.28 kB / 1.432 GB, free: 20.31 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.958/6.005, allocations: 0.9359 GB / 2.368 GB, free: 94.62 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0005746/6.006, allocations: 138.2 kB / 2.368 GB, free: 94.6 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.01969/6.025, allocations: 4.713 MB / 2.372 GB, free: 93.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/6.025, allocations: 10.34 kB / 2.372 GB, free: 93.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004897/6.03, allocations: 0.5842 MB / 2.373 GB, free: 92.82 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01364/6.044, allocations: 4.068 MB / 2.377 GB, free: 92.26 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003137/6.044, allocations: 123.2 kB / 2.377 GB, free: 92.26 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002236/6.047, allocations: 234.9 kB / 2.377 GB, free: 92.25 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0156/6.062, allocations: 5.093 MB / 2.382 GB, free: 92.23 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/6.08, allocations: 5.532 MB / 2.388 GB, free: 91.43 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001418/6.08, allocations: 10.41 kB / 2.388 GB, free: 91.43 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007553/6.081, allocations: 9.312 kB / 2.388 GB, free: 91.43 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003906/6.081, allocations: 417.3 kB / 2.388 GB, free: 91.42 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04216/6.123, allocations: 25.02 MB / 2.413 GB, free: 78 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007766/6.131, allocations: 3.968 MB / 2.416 GB, free: 77.95 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003696/6.135, allocations: 2.293 MB / 2.419 GB, free: 77.92 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02542/6.16, allocations: 12.42 MB / 2.431 GB, free: 72.47 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003614/6.164, allocations: 2.145 MB / 2.433 GB, free: 72.37 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=310): time 7.535e-06/6.164, allocations: 0 / 2.433 GB, free: 72.37 MB / 0.9948 GB Notification: Performance of matching and sorting (n=334): time 0.09485/6.259, allocations: 18.68 MB / 2.451 GB, free: 71.03 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/6.259, allocations: 110.2 kB / 2.451 GB, free: 70.93 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003862/6.263, allocations: 2.223 MB / 2.453 GB, free: 70.66 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001262/6.264, allocations: 32.36 kB / 2.453 GB, free: 70.62 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001351/6.265, allocations: 1.519 MB / 2.455 GB, free: 69.77 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001788/6.267, allocations: 1.113 MB / 2.456 GB, free: 69.03 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/6.267, allocations: 0 / 2.456 GB, free: 69.03 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002213/6.268, allocations: 475.8 kB / 2.456 GB, free: 68.72 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002758/6.27, allocations: 1.882 MB / 2.458 GB, free: 68.7 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003277/6.274, allocations: 2.905 MB / 2.461 GB, free: 67.61 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02598/6.3, allocations: 5.294 MB / 2.466 GB, free: 67.56 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.299e-05/6.3, allocations: 7.312 kB / 2.466 GB, free: 67.56 MB / 0.9948 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.03351/6.333, allocations: 8.101 MB / 2.474 GB, free: 67.26 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002855/6.336, allocations: 11.92 MB / 2.486 GB, free: 54.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-05/6.336, allocations: 29.31 kB / 2.486 GB, free: 54.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001078/6.336, allocations: 51.44 kB / 2.486 GB, free: 54.95 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03896/6.375, allocations: 3.865 MB / 2.49 GB, free: 54.95 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01254/6.388, allocations: 5.505 MB / 2.495 GB, free: 51.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006713/6.395, allocations: 291.2 kB / 2.495 GB, free: 51.41 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001612/6.396, allocations: 203.7 kB / 2.496 GB, free: 51.41 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/6.396, allocations: 3.438 kB / 2.496 GB, free: 51.41 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02257/6.419, allocations: 6.146 MB / 2.502 GB, free: 51.33 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.701e-05/6.419, allocations: 28.53 kB / 2.502 GB, free: 51.33 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.175e-05/6.419, allocations: 50.16 kB / 2.502 GB, free: 51.33 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006931/6.426, allocations: 1.335 MB / 2.503 GB, free: 51.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001057/6.426, allocations: 68.39 kB / 2.503 GB, free: 51.33 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005808/6.432, allocations: 296.3 kB / 2.503 GB, free: 51.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001163/6.433, allocations: 203.4 kB / 2.504 GB, free: 51.3 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001476/6.435, allocations: 211.1 kB / 2.504 GB, free: 51.18 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/6.436, allocations: 375.9 kB / 2.504 GB, free: 50.99 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03255/6.469, allocations: 8.209 MB / 2.512 GB, free: 50.8 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.233e-05/6.469, allocations: 47.27 kB / 2.512 GB, free: 50.8 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/6.469, allocations: 3.469 kB / 2.512 GB, free: 50.8 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02996/6.499, allocations: 6.972 MB / 2.519 GB, free: 50.47 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0533/6.552, allocations: 17.57 MB / 2.536 GB, free: 48.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.627e-05/6.552, allocations: 14.47 kB / 2.536 GB, free: 48.91 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03497/6.587, allocations: 3.49 MB / 2.54 GB, free: 48.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.221e-05/6.587, allocations: 34 kB / 2.54 GB, free: 48.91 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001046/6.588, allocations: 68.09 kB / 2.54 GB, free: 48.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/6.6, allocations: 5.371 MB / 2.545 GB, free: 45.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.095e-05/6.6, allocations: 28.34 kB / 2.545 GB, free: 45.4 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0347/6.635, allocations: 12.47 MB / 2.557 GB, free: 42.26 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003358/6.638, allocations: 0.9391 MB / 2.558 GB, free: 41.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001369/6.64, allocations: 40.5 kB / 2.558 GB, free: 41.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004254/6.644, allocations: 199.2 kB / 2.558 GB, free: 41.95 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004777/6.644, allocations: 250.9 kB / 2.558 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004685/6.645, allocations: 170.8 kB / 2.559 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.002723/6.648, allocations: 1.613 MB / 2.56 GB, free: 41.79 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01238/6.66, allocations: 2.404 MB / 2.563 GB, free: 41.61 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 17 (pip0.mediums[1].T,pip0.mediums[2].T,pip1.mediums[1].T,pip1.mediums[2].T,pip2.mediums[1].T,pip2.mediums[2].T,pip3.mediums[1].T,pip3.mediums[2].T,pip4.mediums[1].T,pip4.mediums[2].T,pip5.mediums[1].T,pip5.mediums[2].T,senTem_p2.T,senTem_p3.T,senTemIn_p2.T,senTem_p1.T,senTem_p4.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (395): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004997/6.665, allocations: 1.776 MB / 2.564 GB, free: 41.14 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.06713/6.732, allocations: 11.29 MB / 2.575 GB, free: 41.05 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-05/6.732, allocations: 7.219 kB / 2.575 GB, free: 41.05 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.05451/6.787, allocations: 6.252 MB / 2.581 GB, free: 41.05 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009104/6.796, allocations: 1.272 MB / 2.583 GB, free: 41 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02385/6.82, allocations: 9.034 MB / 2.591 GB, free: 38.78 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005858/6.826, allocations: 3.604 MB / 2.595 GB, free: 37.91 MB / 0.9948 GB Notification: Performance of SimCode: time 1.753e-06/6.826, allocations: 0 / 2.595 GB, free: 37.91 MB / 0.9948 GB Notification: Performance of Templates: time 0.1793/7.005, allocations: 101.2 MB / 2.694 GB, free: 13.53 MB / 1.026 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1)