Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.001256/0.001256, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 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.00142/0.00142, allocations: 215.3 kB / 23.77 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2153/0.2153, allocations: 44.27 MB / 331.1 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002214/0.002214, allocations: 79.81 kB / 468.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1129, allocations: 61.03 MB / 0.5169 GB, free: 7.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4022/0.5151, allocations: 164.6 MB / 0.6777 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003982/0.5191, allocations: 2.023 MB / 0.6797 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004315/0.5195, allocations: 19.81 kB / 0.6797 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008343/0.5204, allocations: 294 kB / 0.68 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004/0.5244, allocations: 1.432 MB / 0.6814 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/0.5263, allocations: 0.6954 MB / 0.6821 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001907/0.5282, allocations: 1.488 MB / 0.6835 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006349/0.5289, allocations: 363.7 kB / 0.6839 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.5299, allocations: 0.58 MB / 0.6844 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006635/0.5306, allocations: 474 kB / 0.6849 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.07e-05/0.5307, allocations: 48 kB / 0.6849 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.5325, allocations: 0.9127 MB / 0.6858 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.5327, allocations: 151.4 kB / 0.686 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.533, allocations: 274.8 kB / 0.6862 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.535, allocations: 1.32 MB / 0.6875 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.535, allocations: 3.938 kB / 0.6875 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.382e-06/0.535, allocations: 0 / 0.6875 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.535, allocations: 0 / 0.6875 GB, free: 3.461 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001922/0.5369, allocations: 0.9714 MB / 0.6885 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5369, allocations: 8.031 kB / 0.6885 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.593e-05/0.537, allocations: 13 kB / 0.6885 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000104/0.5371, allocations: 78.47 kB / 0.6886 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.5381, allocations: 143.5 kB / 0.6887 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007964/0.5389, allocations: 397.7 kB / 0.6891 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.5389, allocations: 29 kB / 0.6891 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/0.539, allocations: 44 kB / 0.6891 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.5402, allocations: 0.8605 MB / 0.69 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.5402, allocations: 0 / 0.69 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.879e-05/0.5403, allocations: 16 kB / 0.69 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.5403, allocations: 12 kB / 0.69 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008432/0.5412, allocations: 403.6 kB / 0.6904 GB, free: 340 kB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/0.5439, allocations: 1.899 MB / 0.6922 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006504/0.5445, allocations: 271.3 kB / 0.6925 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.5448, allocations: 141.8 kB / 0.6926 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008905/0.5457, allocations: 398.2 kB / 0.693 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.5457, allocations: 38.56 kB / 0.6931 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 2.154e-06/0.5457, allocations: 3.938 kB / 0.6931 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.002429/0.5482, allocations: 0.6344 MB / 0.6937 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/0.5482, allocations: 132.5 kB / 0.6938 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005306/0.5488, allocations: 441.9 kB / 0.6942 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.024e-05/0.5488, allocations: 33.7 kB / 0.6943 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.549, allocations: 280.2 kB / 0.6945 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.5492, allocations: 107.1 kB / 0.6946 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.5493, allocations: 101.7 kB / 0.6947 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.5495, allocations: 362.8 kB / 0.6951 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.5499, allocations: 135.9 kB / 0.6952 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000531/0.5504, allocations: 352.3 kB / 0.6955 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008633/0.5513, allocations: 420.5 kB / 0.6959 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5513, allocations: 1.188 kB / 0.6959 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001279/0.5526, allocations: 0.5338 MB / 0.6965 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.5526, allocations: 11.94 kB / 0.6965 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.5526, allocations: 4 kB / 0.6965 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/0.5547, allocations: 268.9 kB / 0.6967 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.5551, allocations: 107.8 kB / 0.6968 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.5561, allocations: 0.5953 MB / 0.6974 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.5565, allocations: 47.66 kB / 0.6975 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.611e-05/0.5566, allocations: 51.97 kB / 0.6975 GB, free: 8.711 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002758/0.5569, allocations: 185.6 kB / 0.6977 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.557, allocations: 51.67 kB / 0.6977 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.5586, allocations: 0.6543 MB / 0.6984 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.5587, allocations: 4 kB / 0.6984 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5587, allocations: 0 / 0.6984 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.5587, allocations: 3.938 kB / 0.6984 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.5604, allocations: 0.8964 MB / 0.6993 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5604, allocations: 4 kB / 0.6993 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.5606, allocations: 44.06 kB / 0.6993 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001752/0.5624, allocations: 260.4 kB / 0.6996 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.5624, allocations: 19.36 kB / 0.6996 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009518/0.5634, allocations: 0.5992 MB / 0.7002 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.5634, allocations: 9.438 kB / 0.7002 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.5647, allocations: 0.5119 MB / 0.7007 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.5648, allocations: 55.64 kB / 0.7007 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.565, allocations: 15.88 kB / 0.7007 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.5653, allocations: 15.98 kB / 0.7007 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-05/0.5654, allocations: 35.83 kB / 0.7008 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.5655, allocations: 15.98 kB / 0.7008 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004976/0.566, allocations: 386.8 kB / 0.7012 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.566, allocations: 0 / 0.7012 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008375/0.5668, allocations: 263.5 kB / 0.7014 GB, free: 4.543 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002398/0.5692, allocations: 1.313 MB / 0.7027 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.5706, allocations: 355.5 kB / 0.703 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.5706, allocations: 4.875 kB / 0.703 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007501/0.5713, allocations: 152 kB / 0.7032 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.5729, allocations: 355.3 kB / 0.7035 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007815/0.5807, allocations: 4.704 MB / 0.7081 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.581, allocations: 246.3 kB / 0.7084 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006686/0.5817, allocations: 188.6 kB / 0.7085 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003755/0.582, allocations: 211.3 kB / 0.7087 GB, free: 12.79 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.582, allocations: 0 / 0.7087 GB, free: 12.79 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04938/0.6314, allocations: 21.86 MB / 0.7301 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.35, allocations: 8.062 kB / 0.7301 GB, free: 6.895 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.382164416951127] Failed to read output from testmodel.py, exit status != 0: ['time', 'ramp.y', 'boundary.ports[1].m_flow', 'boundary.ports[1].p', 'boundary.ports[1].h_outflow', 'sensor.port_b.m_flow', 'sensor.port_b.p', 'sensor.port_b.h_outflow', 'fitting1.port_b.m_flow', 'fitting1.port_b.p', 'fitting1.port_b.h_outflow', 'fitting2.port_b.m_flow', 'fitting2.port_b.p', 'fitting2.port_b.h_outflow'] 15.533360125031322 15.553224665 15.014775984 Calling exit ...