Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad",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.00107/0.00107, allocations: 101.6 kB / 15.98 MB, free: 6.348 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.001057/0.001057, allocations: 198.6 kB / 16.91 MB, free: 6.191 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.243/1.243, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6786/0.6786, allocations: 115.3 MB / 406.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 63.91 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.374, allocations: 76.16 MB / 0.556 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005787/0.3799, allocations: 4.118 MB / 0.56 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.382, allocations: 1.579 MB / 0.5616 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.3822, allocations: 7.5 kB / 0.5616 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.3836, allocations: 0.5575 MB / 0.5621 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004033/0.384, allocations: 215.4 kB / 0.5623 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.3844, allocations: 190.1 kB / 0.5625 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005124/0.385, allocations: 0.5491 MB / 0.5631 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007038/0.3857, allocations: 0.5235 MB / 0.5636 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002409/0.3859, allocations: 225.2 kB / 0.5638 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.3863, allocations: 270.1 kB / 0.564 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.699e-05/0.3864, allocations: 35.19 kB / 0.5641 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.3866, allocations: 167.6 kB / 0.5642 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.3868, allocations: 151.8 kB / 0.5644 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.387, allocations: 197.7 kB / 0.5646 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005685/0.3875, allocations: 0.5246 MB / 0.5651 GB, free: 30.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3876, allocations: 2.719 kB / 0.5651 GB, free: 30.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3876, allocations: 0 / 0.5651 GB, free: 30.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3876, allocations: 0 / 0.5651 GB, free: 30.87 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001114/0.3887, allocations: 0.6822 MB / 0.5657 GB, free: 30.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3887, allocations: 10.39 kB / 0.5658 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.017e-05/0.3888, allocations: 73.11 kB / 0.5658 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007405/0.3896, allocations: 108.6 kB / 0.5659 GB, free: 30.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.39, allocations: 298.6 kB / 0.5662 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.828e-05/0.3901, allocations: 53.05 kB / 0.5663 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.832e-05/0.3902, allocations: 35.12 kB / 0.5663 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000837/0.391, allocations: 0.5042 MB / 0.5668 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.391, allocations: 1.656 kB / 0.5668 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.3911, allocations: 17 kB / 0.5668 GB, free: 29.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.432e-05/0.3911, allocations: 32.34 kB / 0.5668 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006947/0.3918, allocations: 384.6 kB / 0.5672 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.3941, allocations: 2.209 MB / 0.5694 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007029/0.3948, allocations: 263.8 kB / 0.5696 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/0.3952, allocations: 148.7 kB / 0.5698 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.3952, allocations: 4 kB / 0.5698 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.3953, allocations: 38.06 kB / 0.5698 GB, free: 27.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=19): time 2.014e-06/0.3953, allocations: 0 / 0.5698 GB, free: 27.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=19): time 0.001414/0.3967, allocations: 0.5697 MB / 0.5703 GB, free: 27.19 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.3967, allocations: 53.5 kB / 0.5704 GB, free: 27.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.3969, allocations: 223.9 kB / 0.5706 GB, free: 26.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.397, allocations: 32.45 kB / 0.5706 GB, free: 26.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.3971, allocations: 218.7 kB / 0.5709 GB, free: 26.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.3971, allocations: 66.16 kB / 0.5709 GB, free: 26.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-05/0.3972, allocations: 55.66 kB / 0.571 GB, free: 26.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.908e-05/0.3973, allocations: 330.7 kB / 0.5713 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.3975, allocations: 99.03 kB / 0.5714 GB, free: 26.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.3978, allocations: 181.2 kB / 0.5716 GB, free: 26.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.3982, allocations: 280.2 kB / 0.5718 GB, free: 26.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3982, allocations: 5.625 kB / 0.5718 GB, free: 26.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000826/0.3991, allocations: 371 kB / 0.5722 GB, free: 25.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3991, allocations: 6.094 kB / 0.5722 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3991, allocations: 6.875 kB / 0.5722 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005006/0.3996, allocations: 108.6 kB / 0.5723 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.3998, allocations: 54.03 kB / 0.5723 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/0.4024, allocations: 3.049 MB / 0.5753 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.4026, allocations: 36.02 kB / 0.5754 GB, free: 22.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.4026, allocations: 12.69 kB / 0.5754 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002854/0.4029, allocations: 218.8 kB / 0.5756 GB, free: 22.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002336/0.4032, allocations: 178.5 kB / 0.5757 GB, free: 22.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003904/0.4036, allocations: 278.3 kB / 0.576 GB, free: 22.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.352e-06/0.4036, allocations: 0 / 0.576 GB, free: 22.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.000689/0.4043, allocations: 345.4 kB / 0.5763 GB, free: 22.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.4043, allocations: 5.5 kB / 0.5763 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4043, allocations: 3.5 kB / 0.5764 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002762/0.4046, allocations: 83.02 kB / 0.5764 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.4048, allocations: 55.73 kB / 0.5765 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.4064, allocations: 1.614 MB / 0.5781 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.4067, allocations: 35.5 kB / 0.5781 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.4067, allocations: 11.56 kB / 0.5781 GB, free: 20.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 8.918e-05/0.4068, allocations: 199.3 kB / 0.5783 GB, free: 20.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.4068, allocations: 19.44 kB / 0.5783 GB, free: 20.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.533e-05/0.4069, allocations: 30.83 kB / 0.5783 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4069, allocations: 1.469 kB / 0.5783 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4069, allocations: 9.531 kB / 0.5784 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4069, allocations: 1.078 kB / 0.5784 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.4082, allocations: 0.8295 MB / 0.5792 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.4082, allocations: 1.5 kB / 0.5792 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.4083, allocations: 32.31 kB / 0.5792 GB, free: 20.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003692/0.4087, allocations: 108.6 kB / 0.5793 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.4087, allocations: 6.594 kB / 0.5793 GB, free: 19.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/0.411, allocations: 3.017 MB / 0.5823 GB, free: 17.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.411, allocations: 4.594 kB / 0.5823 GB, free: 17.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007209/0.4117, allocations: 414.3 kB / 0.5827 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.782e-05/0.4118, allocations: 119.8 kB / 0.5828 GB, free: 16.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.4119, allocations: 6.109 kB / 0.5828 GB, free: 16.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.4121, allocations: 16.31 kB / 0.5828 GB, free: 16.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.4122, allocations: 20.62 kB / 0.5828 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.4122, allocations: 4.219 kB / 0.5828 GB, free: 16.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.4123, allocations: 161.8 kB / 0.583 GB, free: 16.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4123, allocations: 0 / 0.583 GB, free: 16.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006363/0.413, allocations: 174.2 kB / 0.5831 GB, free: 16.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * 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: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008639/0.4138, allocations: 0.9491 MB / 0.5841 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00176/0.4156, allocations: 0.7756 MB / 0.5848 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.4156, allocations: 5.812 kB / 0.5848 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007144/0.4163, allocations: 367.3 kB / 0.5852 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.4168, allocations: 62 kB / 0.5852 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/0.4206, allocations: 2.978 MB / 0.5881 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.4209, allocations: 0.8127 MB / 0.5889 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002328/0.4212, allocations: 56.03 kB / 0.589 GB, free: 12.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.4213, allocations: 91.56 kB / 0.5891 GB, free: 12.12 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4213, allocations: 4 kB / 0.5891 GB, free: 12.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02581/0.4471, allocations: 7.019 MB / 0.5959 GB, free: 9.469 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/0.4473, allocations: 235.1 kB / 0.5962 GB, free: 9.207 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.237, allocations: 1.062 kB / 0.5962 GB, free: 9.207 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)