Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource",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.001261/0.001261, allocations: 104.4 kB / 16.27 MB, free: 5.98 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.001315/0.001315, allocations: 192 kB / 17.2 MB, free: 5.609 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.27/1.27, allocations: 222.9 MB / 240.9 MB, free: 15.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7347/0.7347, allocations: 122.8 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.84 kB / 0.4912 GB, free: 7.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3131, allocations: 77.93 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003469/0.3166, allocations: 2.413 MB / 0.5697 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.3186, allocations: 1.572 MB / 0.5712 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.688e-05/0.3187, allocations: 3.5 kB / 0.5712 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005743/0.3193, allocations: 176.5 kB / 0.5714 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.3196, allocations: 160.3 kB / 0.5715 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.32, allocations: 182.5 kB / 0.5717 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.3202, allocations: 212.4 kB / 0.5719 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.3205, allocations: 124.6 kB / 0.572 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.3206, allocations: 89.84 kB / 0.5721 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.3208, allocations: 104.4 kB / 0.5722 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.3209, allocations: 12.66 kB / 0.5722 GB, free: 29.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000288/0.3211, allocations: 213.9 kB / 0.5724 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.592e-05/0.3212, allocations: 61.31 kB / 0.5725 GB, free: 29.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.704e-05/0.3213, allocations: 81.03 kB / 0.5725 GB, free: 29.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.3217, allocations: 306.4 kB / 0.5728 GB, free: 29.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3217, allocations: 0.6562 kB / 0.5728 GB, free: 29.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3217, allocations: 1.719 kB / 0.5728 GB, free: 29.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.3217, allocations: 1.969 kB / 0.5728 GB, free: 29.25 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005262/0.3222, allocations: 466.6 kB / 0.5733 GB, free: 28.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.3223, allocations: 10.38 kB / 0.5733 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.3223, allocations: 52.36 kB / 0.5733 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007259/0.323, allocations: 86.38 kB / 0.5734 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.3232, allocations: 231.5 kB / 0.5737 GB, free: 28.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3233, allocations: 15.22 kB / 0.5737 GB, free: 28.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.3233, allocations: 13.91 kB / 0.5737 GB, free: 28.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.3237, allocations: 296.6 kB / 0.574 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3237, allocations: 5.188 kB / 0.574 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.3238, allocations: 6.844 kB / 0.574 GB, free: 28.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.589e-05/0.3238, allocations: 25.14 kB / 0.574 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004066/0.3242, allocations: 223.2 kB / 0.5742 GB, free: 28.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.3256, allocations: 1.599 MB / 0.5758 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.326, allocations: 317.6 kB / 0.5761 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.483e-05/0.3261, allocations: 64.31 kB / 0.5761 GB, free: 26.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.3261, allocations: 6.594 kB / 0.5761 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.3261, allocations: 32.41 kB / 0.5762 GB, free: 26.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.3261, allocations: 2.469 kB / 0.5762 GB, free: 26.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005016/0.3266, allocations: 247.7 kB / 0.5764 GB, free: 26.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.3267, allocations: 78.67 kB / 0.5765 GB, free: 26.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.3269, allocations: 205.6 kB / 0.5767 GB, free: 26.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.3269, allocations: 26.98 kB / 0.5767 GB, free: 26.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.327, allocations: 156.6 kB / 0.5769 GB, free: 26.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.327, allocations: 40.16 kB / 0.5769 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-05/0.3271, allocations: 50.98 kB / 0.5769 GB, free: 25.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.273e-05/0.3271, allocations: 326.4 kB / 0.5773 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.3273, allocations: 81.08 kB / 0.5773 GB, free: 25.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.3275, allocations: 163.4 kB / 0.5775 GB, free: 25.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.3278, allocations: 236.8 kB / 0.5777 GB, free: 25.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3278, allocations: 0.875 kB / 0.5777 GB, free: 25.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004563/0.3282, allocations: 269 kB / 0.578 GB, free: 25.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3283, allocations: 5.938 kB / 0.578 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3283, allocations: 4.312 kB / 0.578 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3283, allocations: 12.25 kB / 0.578 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.3285, allocations: 58.45 kB / 0.5781 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3286, allocations: 6.641 kB / 0.5781 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.3288, allocations: 19.42 kB / 0.5781 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.3288, allocations: 17.67 kB / 0.5781 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001812/0.329, allocations: 166 kB / 0.5783 GB, free: 25.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001537/0.3292, allocations: 153.3 kB / 0.5784 GB, free: 24.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002304/0.3294, allocations: 233.3 kB / 0.5786 GB, free: 24.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-06/0.3294, allocations: 2.375 kB / 0.5786 GB, free: 24.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000418/0.3299, allocations: 251.6 kB / 0.5789 GB, free: 24.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.3299, allocations: 7.172 kB / 0.5789 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.3299, allocations: 3.375 kB / 0.5789 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.431e-06/0.3299, allocations: 6.453 kB / 0.5789 GB, free: 24.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.3301, allocations: 57.11 kB / 0.5789 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3301, allocations: 6.422 kB / 0.5789 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.3304, allocations: 23.81 kB / 0.579 GB, free: 24.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.3304, allocations: 14.36 kB / 0.579 GB, free: 24.62 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.983e-05/0.3304, allocations: 191.1 kB / 0.5792 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.3305, allocations: 19.72 kB / 0.5792 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.3307, allocations: 149.8 kB / 0.5793 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3307, allocations: 6.422 kB / 0.5793 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3307, allocations: 3.594 kB / 0.5793 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3308, allocations: 0.7031 kB / 0.5793 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007763/0.3315, allocations: 0.7264 MB / 0.58 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3315, allocations: 1.344 kB / 0.58 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.3317, allocations: 28.94 kB / 0.5801 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3317, allocations: 4.219 kB / 0.5801 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.3317, allocations: 8 kB / 0.5801 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3317, allocations: 5.312 kB / 0.5801 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3317, allocations: 3.188 kB / 0.5801 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.3319, allocations: 378.9 kB / 0.5804 GB, free: 23.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.225e-05/0.332, allocations: 101.4 kB / 0.5805 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.332, allocations: 4.688 kB / 0.5805 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.3322, allocations: 14.44 kB / 0.5806 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.537e-05/0.3323, allocations: 15.95 kB / 0.5806 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.3323, allocations: 13.06 kB / 0.5806 GB, free: 23.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001469/0.3324, allocations: 154 kB / 0.5807 GB, free: 23.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3325, allocations: 3.938 kB / 0.5807 GB, free: 23.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004918/0.333, allocations: 70.62 kB / 0.5808 GB, free: 23.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003966/0.3334, allocations: 0.9116 MB / 0.5817 GB, free: 22.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004815/0.3338, allocations: 280.1 kB / 0.582 GB, free: 22.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3339, allocations: 5.781 kB / 0.582 GB, free: 22.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.738e-05/0.3339, allocations: 61.22 kB / 0.582 GB, free: 22.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.3344, allocations: 34.91 kB / 0.5821 GB, free: 22.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.3366, allocations: 2.339 MB / 0.5843 GB, free: 20.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.3367, allocations: 0.7386 MB / 0.5851 GB, free: 19.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002224/0.337, allocations: 75.59 kB / 0.5851 GB, free: 19.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.3371, allocations: 52.8 kB / 0.5852 GB, free: 19.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3371, allocations: 3.938 kB / 0.5852 GB, free: 19.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.3566, allocations: 3.625 MB / 0.5887 GB, free: 17.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/7.277, allocations: 3.75 kB / 0.5887 GB, free: 17.75 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_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_AC_OnePhase_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)