Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource",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.001751/0.001751, allocations: 99.05 kB / 16.27 MB, free: 5.93 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.002295/0.002295, allocations: 188.5 kB / 17.2 MB, free: 5.574 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.334/1.334, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7334/0.7334, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.89 kB / 0.4912 GB, free: 7.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3851, allocations: 77.92 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.00548/0.3906, allocations: 3.192 MB / 0.5704 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.3929, allocations: 1.369 MB / 0.5717 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.3931, allocations: 8.969 kB / 0.5717 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.3943, allocations: 343.5 kB / 0.5721 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003908/0.3947, allocations: 146.1 kB / 0.5722 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.3951, allocations: 146.8 kB / 0.5723 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.3954, allocations: 330.8 kB / 0.5727 GB, free: 29.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004147/0.3958, allocations: 256.1 kB / 0.5729 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.396, allocations: 142.5 kB / 0.573 GB, free: 29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.3963, allocations: 147.3 kB / 0.5732 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.3964, allocations: 20.22 kB / 0.5732 GB, free: 28.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.3967, allocations: 170.2 kB / 0.5734 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.3969, allocations: 80.31 kB / 0.5734 GB, free: 28.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.397, allocations: 127.3 kB / 0.5736 GB, free: 28.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005247/0.3976, allocations: 346.1 kB / 0.5739 GB, free: 28.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3976, allocations: 1 kB / 0.5739 GB, free: 28.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3976, allocations: 3.719 kB / 0.5739 GB, free: 28.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3976, allocations: 0 / 0.5739 GB, free: 28.66 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000821/0.3984, allocations: 0.5458 MB / 0.5744 GB, free: 28.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3985, allocations: 10.94 kB / 0.5744 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.381e-05/0.3985, allocations: 55.88 kB / 0.5745 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006019/0.3992, allocations: 80.95 kB / 0.5746 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.3995, allocations: 246.3 kB / 0.5748 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.3995, allocations: 17 kB / 0.5748 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.6e-05/0.3995, allocations: 18.56 kB / 0.5748 GB, free: 27.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.4001, allocations: 317.3 kB / 0.5751 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4001, allocations: 6.125 kB / 0.5752 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.4001, allocations: 6.969 kB / 0.5752 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/0.4002, allocations: 20.45 kB / 0.5752 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.4005, allocations: 212.4 kB / 0.5754 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.402, allocations: 1.503 MB / 0.5768 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.4024, allocations: 210 kB / 0.577 GB, free: 26.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.305e-05/0.4025, allocations: 44.69 kB / 0.5771 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.4025, allocations: 3.125 kB / 0.5771 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.4025, allocations: 31.72 kB / 0.5771 GB, free: 26.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.4026, allocations: 0 / 0.5771 GB, free: 26.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005533/0.4031, allocations: 261.8 kB / 0.5774 GB, free: 25.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.4031, allocations: 56.44 kB / 0.5774 GB, free: 25.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.4034, allocations: 212.1 kB / 0.5776 GB, free: 25.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.4034, allocations: 27.55 kB / 0.5777 GB, free: 25.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/0.4035, allocations: 176.8 kB / 0.5778 GB, free: 25.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.4035, allocations: 26.06 kB / 0.5778 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.4036, allocations: 41.61 kB / 0.5779 GB, free: 25.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.033e-05/0.4037, allocations: 327.5 kB / 0.5782 GB, free: 25.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.887e-05/0.4038, allocations: 47.05 kB / 0.5782 GB, free: 25.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.4039, allocations: 111.5 kB / 0.5784 GB, free: 25.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.4042, allocations: 169.1 kB / 0.5785 GB, free: 24.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4042, allocations: 1.812 kB / 0.5785 GB, free: 24.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003645/0.4045, allocations: 211.9 kB / 0.5787 GB, free: 24.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4046, allocations: 6.25 kB / 0.5787 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4046, allocations: 2.75 kB / 0.5787 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/0.4048, allocations: 31.38 kB / 0.5788 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.4049, allocations: 29.55 kB / 0.5788 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000743/0.4057, allocations: 1.422 MB / 0.5802 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.4058, allocations: 23.88 kB / 0.5802 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.4058, allocations: 16.03 kB / 0.5802 GB, free: 23.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001006/0.4059, allocations: 148.5 kB / 0.5804 GB, free: 23.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.852e-05/0.406, allocations: 17.02 kB / 0.5804 GB, free: 23.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.406, allocations: 20.02 kB / 0.5804 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.406, allocations: 1.375 kB / 0.5804 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.406, allocations: 1.219 kB / 0.5804 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.4061, allocations: 1.688 kB / 0.5804 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.4066, allocations: 493 kB / 0.5809 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4066, allocations: 0 / 0.5809 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.4066, allocations: 11.78 kB / 0.5809 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.609e-05/0.4067, allocations: 24.41 kB / 0.5809 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.4068, allocations: 5.891 kB / 0.5809 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006724/0.4074, allocations: 1.432 MB / 0.5823 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4074, allocations: 0 / 0.5823 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.4077, allocations: 235.9 kB / 0.5825 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.4078, allocations: 103.5 kB / 0.5826 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.4078, allocations: 1.688 kB / 0.5826 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.4079, allocations: 11.88 kB / 0.5826 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.408, allocations: 4.719 kB / 0.5826 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.408, allocations: 4.609 kB / 0.5826 GB, free: 21.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001103/0.4081, allocations: 154 kB / 0.5828 GB, free: 20.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4081, allocations: 0 / 0.5828 GB, free: 20.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003366/0.4085, allocations: 60.53 kB / 0.5829 GB, free: 20.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003963/0.4089, allocations: 0.7744 MB / 0.5836 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003963/0.4093, allocations: 231.8 kB / 0.5838 GB, free: 20.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4093, allocations: 0.5 kB / 0.5838 GB, free: 20.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001883/0.4095, allocations: 165.4 kB / 0.584 GB, free: 19.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.4099, allocations: 40.59 kB / 0.584 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.412, allocations: 2.148 MB / 0.5861 GB, free: 18.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.4122, allocations: 0.7535 MB / 0.5869 GB, free: 17.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.4123, allocations: 31.67 kB / 0.5869 GB, free: 17.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.45e-05/0.4124, allocations: 60.22 kB / 0.5869 GB, free: 17.52 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4124, allocations: 0 / 0.5869 GB, free: 17.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.439, allocations: 3.924 MB / 0.5908 GB, free: 15.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.617/9.057, allocations: 1.156 kB / 0.5908 GB, free: 15.64 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_DC_Sources_Examples_VoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)