Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad",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.001046/0.001046, allocations: 108.2 kB / 15.99 MB, free: 6.332 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.001321/0.001321, allocations: 196.4 kB / 16.91 MB, free: 6.18 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.296/1.296, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7168/0.7168, allocations: 115.3 MB / 406.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 63.91 kB / 493.2 MB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3829, allocations: 76.17 MB / 0.556 GB, free: 36.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.004848/0.3878, allocations: 3.87 MB / 0.5598 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.3903, allocations: 1.756 MB / 0.5615 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.3905, allocations: 6.438 kB / 0.5615 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.3917, allocations: 428.3 kB / 0.5619 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004965/0.3922, allocations: 231.3 kB / 0.5621 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.3929, allocations: 225.3 kB / 0.5624 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005425/0.3934, allocations: 0.4919 MB / 0.5628 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006535/0.3941, allocations: 400.9 kB / 0.5632 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.3943, allocations: 200.7 kB / 0.5634 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003875/0.3947, allocations: 245.5 kB / 0.5637 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/0.3948, allocations: 29.25 kB / 0.5637 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003464/0.3952, allocations: 192.6 kB / 0.5639 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.3953, allocations: 124.6 kB / 0.564 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.3955, allocations: 180.5 kB / 0.5642 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006234/0.3961, allocations: 0.4976 MB / 0.5646 GB, free: 31.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3962, allocations: 1.469 kB / 0.5646 GB, free: 31.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3962, allocations: 0 / 0.5646 GB, free: 31.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.3962, allocations: 0 / 0.5646 GB, free: 31.23 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001036/0.3972, allocations: 0.6638 MB / 0.5653 GB, free: 30.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3973, allocations: 10.72 kB / 0.5653 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.149e-05/0.3973, allocations: 71.03 kB / 0.5654 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005501/0.3979, allocations: 86.14 kB / 0.5654 GB, free: 30.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.3982, allocations: 293.8 kB / 0.5657 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.3983, allocations: 22.16 kB / 0.5657 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.3983, allocations: 30.36 kB / 0.5658 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007976/0.3991, allocations: 488.8 kB / 0.5662 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.3991, allocations: 1.406 kB / 0.5662 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.3992, allocations: 15.31 kB / 0.5663 GB, free: 30.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/0.3993, allocations: 38.3 kB / 0.5663 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007939/0.4001, allocations: 368 kB / 0.5666 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.402, allocations: 2.042 MB / 0.5686 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/0.4026, allocations: 218.5 kB / 0.5689 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.403, allocations: 158.3 kB / 0.569 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.403, allocations: 6.391 kB / 0.569 GB, free: 28.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.4031, allocations: 33.39 kB / 0.569 GB, free: 28.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.854e-06/0.4031, allocations: 0 / 0.569 GB, free: 28.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001065/0.4041, allocations: 430.6 kB / 0.5695 GB, free: 27.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.4042, allocations: 55.19 kB / 0.5695 GB, free: 27.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.4044, allocations: 261.3 kB / 0.5698 GB, free: 27.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.4045, allocations: 34.8 kB / 0.5698 GB, free: 27.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.4046, allocations: 207.5 kB / 0.57 GB, free: 27.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.445e-05/0.4046, allocations: 65.08 kB / 0.57 GB, free: 27.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.66e-05/0.4047, allocations: 61.95 kB / 0.5701 GB, free: 27.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.621e-05/0.4048, allocations: 337.8 kB / 0.5704 GB, free: 27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.4051, allocations: 98.08 kB / 0.5705 GB, free: 26.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.4054, allocations: 208.9 kB / 0.5707 GB, free: 26.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005297/0.4059, allocations: 308.9 kB / 0.571 GB, free: 26.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.4059, allocations: 6.125 kB / 0.571 GB, free: 26.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007507/0.4067, allocations: 356.5 kB / 0.5714 GB, free: 26.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4067, allocations: 7.578 kB / 0.5714 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.4067, allocations: 3.281 kB / 0.5714 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002174/0.4069, allocations: 35.14 kB / 0.5714 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000276/0.4072, allocations: 73.3 kB / 0.5715 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.4083, allocations: 1.434 MB / 0.5729 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.4085, allocations: 45 kB / 0.5729 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.4086, allocations: 15.72 kB / 0.5729 GB, free: 25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003629/0.4089, allocations: 212.6 kB / 0.5731 GB, free: 24.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002948/0.4093, allocations: 217.4 kB / 0.5733 GB, free: 24.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005118/0.4098, allocations: 320.1 kB / 0.5736 GB, free: 24.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.866e-06/0.4098, allocations: 2.406 kB / 0.5737 GB, free: 24.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006394/0.4104, allocations: 337.1 kB / 0.574 GB, free: 24.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.4105, allocations: 7.891 kB / 0.574 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.4105, allocations: 8.125 kB / 0.574 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.4105, allocations: 5.5 kB / 0.574 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.4108, allocations: 71.62 kB / 0.5741 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.4108, allocations: 8.188 kB / 0.5741 GB, free: 24.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.411, allocations: 34.73 kB / 0.5741 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.4111, allocations: 14.94 kB / 0.5741 GB, free: 24.31 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 31 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.4112, allocations: 204.7 kB / 0.5743 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.4112, allocations: 24.8 kB / 0.5743 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.939e-05/0.4113, allocations: 32.39 kB / 0.5744 GB, free: 24.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4113, allocations: 5.359 kB / 0.5744 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4113, allocations: 5.312 kB / 0.5744 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4113, allocations: 1.312 kB / 0.5744 GB, free: 24.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.4125, allocations: 0.7496 MB / 0.5751 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.4125, allocations: 1.281 kB / 0.5751 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.4127, allocations: 45.12 kB / 0.5752 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.4128, allocations: 30.5 kB / 0.5752 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.4129, allocations: 7.141 kB / 0.5752 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007841/0.4136, allocations: 1.417 MB / 0.5766 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4137, allocations: 1.375 kB / 0.5766 GB, free: 22.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005897/0.4142, allocations: 370 kB / 0.5769 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/0.4144, allocations: 115 kB / 0.577 GB, free: 21.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.4144, allocations: 7.422 kB / 0.577 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.4146, allocations: 17.69 kB / 0.5771 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.4147, allocations: 19.78 kB / 0.5771 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.4147, allocations: 8.438 kB / 0.5771 GB, free: 21.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.4149, allocations: 183.6 kB / 0.5773 GB, free: 21.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4149, allocations: 0 / 0.5773 GB, free: 21.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006702/0.4156, allocations: 145.3 kB / 0.5774 GB, free: 21.59 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 (18): * Single equations (assignments): 17 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008543/0.4164, allocations: 0.8931 MB / 0.5783 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.4175, allocations: 0.5105 MB / 0.5788 GB, free: 20.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4176, allocations: 0 / 0.5788 GB, free: 20.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.4179, allocations: 225.4 kB / 0.579 GB, free: 20.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.4184, allocations: 76.31 kB / 0.5791 GB, free: 20.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/0.4221, allocations: 3.002 MB / 0.582 GB, free: 18.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.4224, allocations: 0.7961 MB / 0.5828 GB, free: 17.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002687/0.4227, allocations: 77.64 kB / 0.5828 GB, free: 17.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.4228, allocations: 91.19 kB / 0.5829 GB, free: 17.49 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4228, allocations: 0 / 0.5829 GB, free: 17.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.446, allocations: 5.998 MB / 0.5888 GB, free: 15.86 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001427/0.4462, allocations: 238.5 kB / 0.589 GB, free: 15.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.753/2.199, allocations: 0 / 0.589 GB, free: 15.6 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)