Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005192/0.005192, allocations: 97.62 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 197.5 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7647/0.7647, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 71.88 kB / 0.5809 GB, free: 8.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.3729, allocations: 80.2 MB / 0.6592 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002578/0.3755, allocations: 1.638 MB / 0.6608 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3773, allocations: 1.488 MB / 0.6623 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.656e-05/0.3773, allocations: 1.562 kB / 0.6623 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.3777, allocations: 48.41 kB / 0.6623 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.3779, allocations: 57.69 kB / 0.6624 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.3782, allocations: 109.6 kB / 0.6625 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.3784, allocations: 168.2 kB / 0.6626 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.3784, allocations: 10.16 kB / 0.6626 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.686e-05/0.3785, allocations: 59.38 kB / 0.6627 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.3787, allocations: 67.52 kB / 0.6628 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.3787, allocations: 10.47 kB / 0.6628 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.3789, allocations: 63.94 kB / 0.6628 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.3789, allocations: 51.09 kB / 0.6629 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.436e-05/0.379, allocations: 53.3 kB / 0.6629 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.3793, allocations: 196.2 kB / 0.6631 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3793, allocations: 1 kB / 0.6631 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3793, allocations: 4 kB / 0.6631 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3793, allocations: 3.938 kB / 0.6631 GB, free: 7.363 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004862/0.3798, allocations: 475.8 kB / 0.6636 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.3798, allocations: 8.594 kB / 0.6636 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.542e-05/0.3799, allocations: 37.78 kB / 0.6636 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.3799, allocations: 15.91 kB / 0.6636 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.3802, allocations: 270.5 kB / 0.6639 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3803, allocations: 1.781 kB / 0.6639 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.3803, allocations: 8.969 kB / 0.6639 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.3805, allocations: 121.8 kB / 0.664 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.3805, allocations: 1.062 kB / 0.664 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3805, allocations: 0 / 0.664 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3805, allocations: 6.406 kB / 0.664 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001979/0.3807, allocations: 139.3 kB / 0.6642 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.3809, allocations: 236.3 kB / 0.6644 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/0.3813, allocations: 177.8 kB / 0.6646 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.629e-05/0.3814, allocations: 50.47 kB / 0.6646 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.3814, allocations: 3.75 kB / 0.6646 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.3816, allocations: 119.2 kB / 0.6647 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.3816, allocations: 0 / 0.6647 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.000431/0.382, allocations: 222.6 kB / 0.6649 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.3821, allocations: 79.7 kB / 0.665 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.3822, allocations: 207.4 kB / 0.6652 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3823, allocations: 31.92 kB / 0.6652 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.3823, allocations: 110.8 kB / 0.6653 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.3824, allocations: 52.55 kB / 0.6654 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.3824, allocations: 37.14 kB / 0.6654 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.3825, allocations: 327.8 kB / 0.6657 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.037e-05/0.3826, allocations: 64.38 kB / 0.6658 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.3827, allocations: 68.2 kB / 0.6659 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.3828, allocations: 120.7 kB / 0.666 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3828, allocations: 0 / 0.666 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002693/0.3831, allocations: 190.7 kB / 0.6662 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3831, allocations: 9.453 kB / 0.6662 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3832, allocations: 5.531 kB / 0.6662 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3832, allocations: 1.594 kB / 0.6662 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3833, allocations: 28.8 kB / 0.6662 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3833, allocations: 5.219 kB / 0.6662 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.3834, allocations: 6.984 kB / 0.6662 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.3834, allocations: 4.25 kB / 0.6662 GB, free: 4.77 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.346e-05/0.3835, allocations: 143.9 kB / 0.6664 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.3835, allocations: 15.59 kB / 0.6664 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.637e-05/0.3836, allocations: 30.8 kB / 0.6664 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3836, allocations: 2.156 kB / 0.6664 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3836, allocations: 3.938 kB / 0.6664 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3836, allocations: 1.188 kB / 0.6664 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.3837, allocations: 242 kB / 0.6666 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3837, allocations: 0 / 0.6666 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.3838, allocations: 16.56 kB / 0.6667 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3838, allocations: 0 / 0.6667 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.3838, allocations: 10.67 kB / 0.6667 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3838, allocations: 1.375 kB / 0.6667 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3838, allocations: 3.938 kB / 0.6667 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.3841, allocations: 218.3 kB / 0.6669 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.3842, allocations: 88.83 kB / 0.667 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.3842, allocations: 6.5 kB / 0.667 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.391e-05/0.3842, allocations: 6.781 kB / 0.667 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.3843, allocations: 9.234 kB / 0.667 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.3843, allocations: 13.42 kB / 0.667 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001043/0.3844, allocations: 150.2 kB / 0.6671 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3844, allocations: 4 kB / 0.6672 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002345/0.3847, allocations: 42.83 kB / 0.6672 GB, free: 3.949 MB / 0.4981 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 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001804/0.3865, allocations: 1.083 MB / 0.6682 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.3867, allocations: 125.1 kB / 0.6684 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3867, allocations: 1 kB / 0.6684 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.3869, allocations: 63.06 kB / 0.6684 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.3871, allocations: 41.88 kB / 0.6685 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.3888, allocations: 1.96 MB / 0.6704 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.389, allocations: 0.715 MB / 0.6711 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.3891, allocations: 45.91 kB / 0.6711 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.878e-05/0.3892, allocations: 64.91 kB / 0.6712 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.3892, allocations: 1.281 kB / 0.6712 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.4159, allocations: 4.682 MB / 0.6758 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/8.07, allocations: 15.02 kB / 0.6758 GB, free: 14.34 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)