Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 217.9 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.388/1.388, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.119/3.119, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 63.28 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3356, allocations: 179 MB / 1.345 GB, free: 0.5 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006735/0.3423, allocations: 3.869 MB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003543/0.3459, allocations: 1.886 MB / 1.351 GB, free: 10.71 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003294/0.3462, allocations: 23.75 kB / 1.351 GB, free: 10.69 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.3472, allocations: 286.6 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0008671/0.3481, allocations: 310.5 kB / 1.352 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006963/0.3488, allocations: 256.9 kB / 1.352 GB, free: 9.855 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0009167/0.3497, allocations: 0.6052 MB / 1.352 GB, free: 9.25 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004885/0.3502, allocations: 242.7 kB / 1.353 GB, free: 9.008 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005365/0.3507, allocations: 247.1 kB / 1.353 GB, free: 8.766 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004627/0.3512, allocations: 243 kB / 1.353 GB, free: 8.527 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.499e-05/0.3512, allocations: 28 kB / 1.353 GB, free: 8.5 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005228/0.3518, allocations: 279.4 kB / 1.353 GB, free: 8.227 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.3519, allocations: 127.6 kB / 1.353 GB, free: 8.102 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.3522, allocations: 214.8 kB / 1.354 GB, free: 7.891 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008591/0.353, allocations: 0.5875 MB / 1.354 GB, free: 7.301 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.353, allocations: 0 / 1.354 GB, free: 7.301 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.693e-06/0.353, allocations: 0 / 1.354 GB, free: 7.301 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.3531, allocations: 0 / 1.354 GB, free: 7.301 MB / 1.045 GB 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.001383/0.3545, allocations: 0.6798 MB / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.3545, allocations: 8.031 kB / 1.355 GB, free: 6.582 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.425e-05/0.3545, allocations: 8.844 kB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.949e-05/0.3546, allocations: 78.64 kB / 1.355 GB, free: 6.488 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009583/0.3556, allocations: 140.5 kB / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006196/0.3562, allocations: 345.3 kB / 1.355 GB, free: 5.988 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.3562, allocations: 21.03 kB / 1.356 GB, free: 5.969 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.98e-05/0.3563, allocations: 28.36 kB / 1.356 GB, free: 5.941 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009077/0.3572, allocations: 0.5507 MB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.3572, allocations: 3.938 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.3572, allocations: 15.94 kB / 1.356 GB, free: 5.293 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-05/0.3573, allocations: 48.62 kB / 1.356 GB, free: 5.246 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007585/0.3581, allocations: 406.1 kB / 1.357 GB, free: 4.852 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003276/0.3614, allocations: 3.278 MB / 1.36 GB, free: 1.336 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.362, allocations: 314.5 kB / 1.36 GB, free: 1.02 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.3623, allocations: 160.7 kB / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3624, allocations: 0 / 1.36 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.3624, allocations: 42.55 kB / 1.36 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of pre-optimization done (n=26): time 1.193e-06/0.3624, allocations: 0 / 1.36 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of matching and sorting (n=27): time 0.002063/0.3645, allocations: 0.8306 MB / 1.361 GB, free: 15.96 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.3645, allocations: 55.64 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003855/0.3649, allocations: 349.6 kB / 1.361 GB, free: 15.55 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.3649, allocations: 29.7 kB / 1.361 GB, free: 15.51 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.3651, allocations: 252.1 kB / 1.362 GB, free: 15.26 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.245e-05/0.3652, allocations: 95.2 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3653, allocations: 82.03 kB / 1.362 GB, free: 15.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3655, allocations: 346.8 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.3658, allocations: 144.8 kB / 1.362 GB, free: 14.59 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.3662, allocations: 298.5 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007593/0.3669, allocations: 478.6 kB / 1.363 GB, free: 13.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3669, allocations: 8 kB / 1.363 GB, free: 13.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001095/0.368, allocations: 0.5621 MB / 1.364 GB, free: 13.12 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.3681, allocations: 8 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.3681, allocations: 4 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000331/0.3684, allocations: 86.5 kB / 1.364 GB, free: 13.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.3688, allocations: 91.81 kB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/0.3688, allocations: 16.22 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.3691, allocations: 27.91 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.116e-05/0.3691, allocations: 24 kB / 1.364 GB, free: 12.86 MB / 1.061 GB 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.000222/0.3693, allocations: 173.7 kB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.3694, allocations: 39.77 kB / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000967/0.3704, allocations: 464.3 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.3704, allocations: 4 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.3704, allocations: 0 / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3704, allocations: 0 / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.372, allocations: 0.9367 MB / 1.365 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.372, allocations: 0 / 1.365 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.3722, allocations: 55.89 kB / 1.365 GB, free: 11.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002462/0.3725, allocations: 82.39 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.3725, allocations: 8 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3725, allocations: 4.094 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3725, allocations: 4 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008757/0.3734, allocations: 0.5472 MB / 1.366 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.3735, allocations: 63.67 kB / 1.366 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/0.3736, allocations: 8 kB / 1.366 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.3738, allocations: 27.91 kB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/0.3739, allocations: 23.95 kB / 1.366 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3739, allocations: 4 kB / 1.366 GB, free: 10.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002504/0.3741, allocations: 235.2 kB / 1.366 GB, free: 10.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3741, allocations: 0 / 1.366 GB, free: 10.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004162/0.3745, allocations: 95.98 kB / 1.367 GB, free: 9.973 MB / 1.061 GB 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.001262/0.3758, allocations: 1.087 MB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008223/0.3766, allocations: 395.4 kB / 1.368 GB, free: 8.445 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3766, allocations: 0 / 1.368 GB, free: 8.445 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003777/0.377, allocations: 198.3 kB / 1.368 GB, free: 8.242 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000737/0.3777, allocations: 139.8 kB / 1.368 GB, free: 8.102 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005446/0.3832, allocations: 3.729 MB / 1.372 GB, free: 4.141 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.3837, allocations: 0.8307 MB / 1.373 GB, free: 3.285 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002563/0.384, allocations: 83.34 kB / 1.373 GB, free: 3.203 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.3842, allocations: 127.4 kB / 1.373 GB, free: 3.078 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.3842, allocations: 0 / 1.373 GB, free: 3.078 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03349/0.4177, allocations: 8.674 MB / 1.381 GB, free: 10.62 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.1, allocations: 21.64 kB / 1.381 GB, free: 10.61 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.58102509699529] Failed to read output from testmodel.py, exit status != 0: 12.27783106797142 12.307247226 11.948787021 Calling exit ...