Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",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.001027/0.001031, allocations: 105.1 kB / 15.98 MB, free: 5.906 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.001058/0.001058, allocations: 195.8 kB / 16.91 MB, free: 5.754 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.192/1.192, allocations: 222.9 MB / 240.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6523/0.6523, allocations: 115.3 MB / 406.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.91 kB / 493.2 MB, free: 0.5625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3114, allocations: 76.16 MB / 0.556 GB, free: 36.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003538/0.315, allocations: 3.771 MB / 0.5597 GB, free: 33.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.3169, allocations: 1.781 MB / 0.5614 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.3171, allocations: 17.44 kB / 0.5615 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006598/0.3178, allocations: 238.3 kB / 0.5617 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.3183, allocations: 281.1 kB / 0.562 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.3188, allocations: 217.1 kB / 0.5622 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005435/0.3193, allocations: 0.6085 MB / 0.5628 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004825/0.3198, allocations: 285.3 kB / 0.563 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004403/0.3202, allocations: 236.8 kB / 0.5633 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/0.3206, allocations: 239.9 kB / 0.5635 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.477e-05/0.3207, allocations: 27.47 kB / 0.5635 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004743/0.3212, allocations: 270.2 kB / 0.5638 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.3213, allocations: 127.1 kB / 0.5639 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.3216, allocations: 203.3 kB / 0.5641 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007546/0.3223, allocations: 0.6082 MB / 0.5647 GB, free: 31.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3223, allocations: 1.156 kB / 0.5647 GB, free: 31.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3223, allocations: 0.5312 kB / 0.5647 GB, free: 31.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.3224, allocations: 0.5938 kB / 0.5647 GB, free: 31.14 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001088/0.3234, allocations: 0.7419 MB / 0.5654 GB, free: 30.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.3235, allocations: 16.84 kB / 0.5654 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.795e-05/0.3236, allocations: 66.31 kB / 0.5655 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008799/0.3244, allocations: 135.9 kB / 0.5656 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.3249, allocations: 374.6 kB / 0.566 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.3249, allocations: 20.94 kB / 0.566 GB, free: 30.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/0.325, allocations: 33.56 kB / 0.566 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007022/0.3257, allocations: 0.556 MB / 0.5666 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.3257, allocations: 5.188 kB / 0.5666 GB, free: 29.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.3257, allocations: 17.17 kB / 0.5666 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.208e-05/0.3258, allocations: 43.88 kB / 0.5666 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006401/0.3265, allocations: 407.8 kB / 0.567 GB, free: 29.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.3285, allocations: 3.338 MB / 0.5703 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.3291, allocations: 333.6 kB / 0.5706 GB, free: 26.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.3294, allocations: 181.4 kB / 0.5708 GB, free: 26.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.3295, allocations: 2.938 kB / 0.5708 GB, free: 26.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.3295, allocations: 43.34 kB / 0.5708 GB, free: 26.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.263e-06/0.3295, allocations: 0 / 0.5708 GB, free: 26.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.001749/0.3312, allocations: 1.061 MB / 0.5719 GB, free: 25.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.936e-05/0.3313, allocations: 56.02 kB / 0.5719 GB, free: 25.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.3316, allocations: 339.8 kB / 0.5722 GB, free: 25.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3316, allocations: 32.17 kB / 0.5723 GB, free: 25.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3317, allocations: 240.8 kB / 0.5725 GB, free: 25.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.3318, allocations: 99.61 kB / 0.5726 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/0.3319, allocations: 75.73 kB / 0.5727 GB, free: 25.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.3319, allocations: 346.3 kB / 0.573 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.3322, allocations: 148.4 kB / 0.5731 GB, free: 24.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.3325, allocations: 294.8 kB / 0.5734 GB, free: 24.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005554/0.333, allocations: 475.9 kB / 0.5739 GB, free: 24.35 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3331, allocations: 5.312 kB / 0.5739 GB, free: 24.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009676/0.334, allocations: 0.5688 MB / 0.5744 GB, free: 24.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3341, allocations: 7.797 kB / 0.5744 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.3341, allocations: 4.312 kB / 0.5744 GB, free: 24.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/0.3343, allocations: 87.78 kB / 0.5745 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.3347, allocations: 92.33 kB / 0.5746 GB, free: 24.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3347, allocations: 18.08 kB / 0.5746 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.3349, allocations: 26.64 kB / 0.5747 GB, free: 24.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.335, allocations: 18.36 kB / 0.5747 GB, free: 24.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.3351, allocations: 178.8 kB / 0.5748 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.3352, allocations: 46.19 kB / 0.5749 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000734/0.3359, allocations: 459.6 kB / 0.5753 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3359, allocations: 6.406 kB / 0.5753 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3359, allocations: 1.375 kB / 0.5753 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3359, allocations: 3.375 kB / 0.5753 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.3372, allocations: 0.9651 MB / 0.5763 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3372, allocations: 5.891 kB / 0.5763 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.3374, allocations: 47.34 kB / 0.5763 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002079/0.3376, allocations: 90.48 kB / 0.5764 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.3376, allocations: 2.594 kB / 0.5764 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.3376, allocations: 2.219 kB / 0.5764 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3376, allocations: 1.312 kB / 0.5764 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006886/0.3383, allocations: 0.5434 MB / 0.5769 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.3385, allocations: 135.5 kB / 0.5771 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.3385, allocations: 7.75 kB / 0.5771 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.3387, allocations: 25.31 kB / 0.5771 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.342e-05/0.3388, allocations: 23.64 kB / 0.5771 GB, free: 22.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.3388, allocations: 6.281 kB / 0.5771 GB, free: 22.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002014/0.339, allocations: 242.2 kB / 0.5774 GB, free: 22.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.339, allocations: 3.938 kB / 0.5774 GB, free: 22.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000389/0.3394, allocations: 85.64 kB / 0.5775 GB, free: 22.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008177/0.3403, allocations: 1.101 MB / 0.5785 GB, free: 21.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000721/0.341, allocations: 0.6649 MB / 0.5792 GB, free: 21.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.341, allocations: 0 / 0.5792 GB, free: 21.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003205/0.3413, allocations: 435.5 kB / 0.5796 GB, free: 20.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006112/0.342, allocations: 139.9 kB / 0.5797 GB, free: 20.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.3457, allocations: 3.876 MB / 0.5835 GB, free: 18.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002139/0.346, allocations: 0.827 MB / 0.5843 GB, free: 17.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002338/0.3462, allocations: 80.55 kB / 0.5844 GB, free: 17.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.3463, allocations: 128.2 kB / 0.5845 GB, free: 17.28 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3464, allocations: 0 / 0.5845 GB, free: 17.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3717/0.718, allocations: 8.11 MB / 0.5924 GB, free: 14.31 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/0.7182, allocations: 234 kB / 0.5927 GB, free: 14.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.583, allocations: 3.5 kB / 0.5927 GB, free: 14.05 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)