Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.PressureDropsExplicitLinearized,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",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.007809/0.007809, allocations: 98.62 kB / 15.73 MB, free: 6.047 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.001875/0.001875, allocations: 184.4 kB / 16.67 MB, free: 5.969 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.39/1.39, 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.7693/0.7693, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 67.91 kB / 0.5809 GB, free: 1.094 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1573, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5975/0.7548, allocations: 241.9 MB / 0.8954 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01498/0.7698, allocations: 13.55 MB / 0.9087 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002973/0.7729, allocations: 57.59 kB / 0.9087 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002693/0.7756, allocations: 0.9858 MB / 0.9097 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004854/0.7805, allocations: 1.781 MB / 0.9114 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002911/0.7834, allocations: 1.239 MB / 0.9126 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00409/0.7875, allocations: 3.26 MB / 0.9158 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.7889, allocations: 1.056 MB / 0.9168 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009137/0.798, allocations: 4.118 MB / 0.9209 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.7996, allocations: 0.8993 MB / 0.9217 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.7998, allocations: 77.16 kB / 0.9218 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.8013, allocations: 0.698 MB / 0.9225 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004381/0.8018, allocations: 443 kB / 0.9229 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008812/0.8027, allocations: 0.6849 MB / 0.9236 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.8048, allocations: 1.55 MB / 0.9251 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.8049, allocations: 1.812 kB / 0.9251 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8049, allocations: 0 / 0.9251 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.8049, allocations: 4 kB / 0.9251 GB, free: 9.32 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002307/0.8072, allocations: 1.671 MB / 0.9267 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.8073, allocations: 9.469 kB / 0.9268 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001393/0.8074, allocations: 127.5 kB / 0.9269 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006114/0.808, allocations: 206.2 kB / 0.9271 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.8094, allocations: 0.9106 MB / 0.928 GB, free: 7.199 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.8095, allocations: 130.9 kB / 0.9281 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.483e-05/0.8096, allocations: 84.84 kB / 0.9282 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.8109, allocations: 0.9165 MB / 0.9291 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.811, allocations: 5.531 kB / 0.9291 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.461e-05/0.811, allocations: 36.09 kB / 0.9291 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.8111, allocations: 21.03 kB / 0.9291 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008677/0.8119, allocations: 0.5097 MB / 0.9296 GB, free: 6.172 MB / 0.6544 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.00501/0.8169, allocations: 4.864 MB / 0.9344 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005943/0.8176, allocations: 418.8 kB / 0.9348 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.8179, allocations: 269 kB / 0.935 GB, free: 440 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.8181, allocations: 105 kB / 0.9351 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.8182, allocations: 55.7 kB / 0.9352 GB, free: 256 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/0.8182, allocations: 4 kB / 0.9352 GB, free: 252 kB / 0.6544 GB Notification: Performance of matching and sorting (n=31): time 0.001847/0.8201, allocations: 0.788 MB / 0.9359 GB, free: 15.44 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002268/0.8203, allocations: 396.4 kB / 0.9363 GB, free: 14.96 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/0.8218, allocations: 1.278 MB / 0.9376 GB, free: 13.68 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.8218, allocations: 37.7 kB / 0.9376 GB, free: 13.64 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005086/0.8224, allocations: 0.5499 MB / 0.9381 GB, free: 13.08 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.968e-05/0.8225, allocations: 113.7 kB / 0.9383 GB, free: 12.97 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.8226, allocations: 85.64 kB / 0.9383 GB, free: 12.88 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.8227, allocations: 318 kB / 0.9386 GB, free: 12.57 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.823, allocations: 91.94 kB / 0.9387 GB, free: 12.48 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004291/0.8234, allocations: 341.5 kB / 0.9391 GB, free: 12.05 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.824, allocations: 320 kB / 0.9394 GB, free: 11.71 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.824, allocations: 4 kB / 0.9394 GB, free: 11.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008305/0.8248, allocations: 0.4898 MB / 0.9398 GB, free: 11.22 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.8249, allocations: 12.03 kB / 0.9399 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.8249, allocations: 4 kB / 0.9399 GB, free: 11.21 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002815/0.8252, allocations: 76.33 kB / 0.9399 GB, free: 11.13 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.8254, allocations: 58.44 kB / 0.94 GB, free: 11.07 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002646/0.828, allocations: 3.259 MB / 0.9432 GB, free: 7.555 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007295/0.8288, allocations: 99.42 kB / 0.9433 GB, free: 7.457 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.8288, allocations: 20 kB / 0.9433 GB, free: 7.438 MB / 0.67 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003763/0.8292, allocations: 280.1 kB / 0.9435 GB, free: 7.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/0.8296, allocations: 143.1 kB / 0.9437 GB, free: 7.02 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.8297, allocations: 131.9 kB / 0.9438 GB, free: 6.887 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.8298, allocations: 8.094 kB / 0.9438 GB, free: 6.879 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.8298, allocations: 7.938 kB / 0.9438 GB, free: 6.871 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.8298, allocations: 4 kB / 0.9438 GB, free: 6.867 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/0.8329, allocations: 2.524 MB / 0.9463 GB, free: 4.25 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.8329, allocations: 4 kB / 0.9463 GB, free: 4.246 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.8331, allocations: 53.03 kB / 0.9464 GB, free: 4.199 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001757/0.8332, allocations: 69.67 kB / 0.9464 GB, free: 4.125 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.8333, allocations: 8 kB / 0.9464 GB, free: 4.117 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/0.8358, allocations: 3.262 MB / 0.9496 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/0.8359, allocations: 14.69 kB / 0.9496 GB, free: 0.5859 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009236/0.8368, allocations: 0.6834 MB / 0.9503 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003581/0.8372, allocations: 252.1 kB / 0.9505 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.8373, allocations: 23.92 kB / 0.9506 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006245/0.8379, allocations: 39.95 kB / 0.9506 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.838, allocations: 36.97 kB / 0.9506 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.8381, allocations: 23.98 kB / 0.9507 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001105/0.8392, allocations: 0.8763 MB / 0.9515 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8392, allocations: 0 / 0.9515 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008921/0.8401, allocations: 259.8 kB / 0.9518 GB, free: 14.31 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00154/0.8416, allocations: 1.324 MB / 0.953 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009402/0.8426, allocations: 0.5224 MB / 0.9536 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8426, allocations: 0.6875 kB / 0.9536 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005355/0.8431, allocations: 412.4 kB / 0.954 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/0.8463, allocations: 0.7521 MB / 0.9547 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.8569, allocations: 8.236 MB / 0.9627 GB, free: 2.727 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/0.8577, allocations: 1.138 MB / 0.9638 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007959/0.8585, allocations: 242.5 kB / 0.9641 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000492/0.859, allocations: 439.3 kB / 0.9645 GB, free: 0.8867 MB / 0.6856 GB Notification: Performance of SimCode: time 7.42e-07/0.859, allocations: 0 / 0.9645 GB, free: 0.8867 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07481/0.9338, allocations: 34.21 MB / 0.9979 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.56, allocations: 9.594 kB / 0.9979 GB, free: 15.33 MB / 0.7325 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)