Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001296/0.001296, allocations: 98.08 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.001411/0.001411, allocations: 216.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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.715/2.715, allocations: 476.7 MB / 0.7715 GB, free: 4.227 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_11_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.001938/0.001938, allocations: 63.06 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2762, allocations: 170 MB / 1.284 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005578/0.2818, allocations: 3.872 MB / 1.288 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003052/0.2848, allocations: 1.886 MB / 1.29 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.285, allocations: 23.81 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008644/0.2859, allocations: 266.7 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006224/0.2865, allocations: 318.4 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005389/0.287, allocations: 248.9 kB / 1.291 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006947/0.2877, allocations: 0.6091 MB / 1.291 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003823/0.2881, allocations: 230.1 kB / 1.291 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.2885, allocations: 263 kB / 1.292 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.2888, allocations: 239 kB / 1.292 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.779e-05/0.2889, allocations: 28 kB / 1.292 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000441/0.2893, allocations: 275.4 kB / 1.292 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.2895, allocations: 131.6 kB / 1.292 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.2897, allocations: 206.8 kB / 1.292 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006983/0.2904, allocations: 0.5875 MB / 1.293 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2904, allocations: 0 / 1.293 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2904, allocations: 8 kB / 1.293 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.685e-06/0.2904, allocations: 0 / 1.293 GB, free: 2.508 MB / 0.9825 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.001182/0.2916, allocations: 0.6816 MB / 1.294 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2916, allocations: 8.031 kB / 1.294 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.801e-05/0.2916, allocations: 12.84 kB / 1.294 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.515e-05/0.2917, allocations: 74.66 kB / 1.294 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008595/0.2925, allocations: 136.5 kB / 1.294 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/0.2931, allocations: 337.4 kB / 1.294 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.2932, allocations: 29 kB / 1.294 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/0.2932, allocations: 36.33 kB / 1.294 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008451/0.2941, allocations: 0.5468 MB / 1.295 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.2941, allocations: 7.938 kB / 1.295 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.2941, allocations: 19.98 kB / 1.295 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-05/0.2942, allocations: 44.62 kB / 1.295 GB, free: 460 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007001/0.2949, allocations: 406.1 kB / 1.295 GB, free: 56 kB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003121/0.298, allocations: 3.271 MB / 1.299 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006754/0.2987, allocations: 310.5 kB / 1.299 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.299, allocations: 160.8 kB / 1.299 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.299, allocations: 4 kB / 1.299 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.299, allocations: 42.56 kB / 1.299 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.714e-06/0.299, allocations: 0 / 1.299 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.001928/0.301, allocations: 0.8435 MB / 1.3 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.301, allocations: 51.64 kB / 1.3 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.3013, allocations: 345.6 kB / 1.3 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.3014, allocations: 29.7 kB / 1.3 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.3015, allocations: 256.1 kB / 1.3 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.736e-05/0.3016, allocations: 95.17 kB / 1.301 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.3017, allocations: 82.08 kB / 1.301 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3019, allocations: 346.8 kB / 1.301 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.3021, allocations: 144.8 kB / 1.301 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.3025, allocations: 294.5 kB / 1.301 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000694/0.3032, allocations: 474.3 kB / 1.302 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3032, allocations: 0 / 1.302 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009949/0.3042, allocations: 0.5657 MB / 1.302 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3042, allocations: 8 kB / 1.302 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3042, allocations: 4 kB / 1.302 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000292/0.3045, allocations: 91.06 kB / 1.303 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.3049, allocations: 91.81 kB / 1.303 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.3049, allocations: 7.938 kB / 1.303 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.3051, allocations: 27.97 kB / 1.303 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.3052, allocations: 27.88 kB / 1.303 GB, free: 8.07 MB / 0.9981 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.0001915/0.3053, allocations: 177.6 kB / 1.303 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.3054, allocations: 47.7 kB / 1.303 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008778/0.3063, allocations: 464.5 kB / 1.303 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3063, allocations: 0 / 1.303 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3063, allocations: 4 kB / 1.303 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3063, allocations: 0 / 1.303 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.3078, allocations: 0.9428 MB / 1.304 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.3078, allocations: 4 kB / 1.304 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.308, allocations: 51.89 kB / 1.304 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002266/0.3083, allocations: 78.61 kB / 1.304 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.3083, allocations: 12 kB / 1.304 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.3083, allocations: 0 / 1.304 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3083, allocations: 3.938 kB / 1.304 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008461/0.3091, allocations: 0.5547 MB / 1.305 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.3093, allocations: 55.73 kB / 1.305 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.874e-05/0.3093, allocations: 8 kB / 1.305 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.3095, allocations: 23.91 kB / 1.305 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.3096, allocations: 27.95 kB / 1.305 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.3096, allocations: 8 kB / 1.305 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002402/0.3099, allocations: 231.2 kB / 1.305 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3099, allocations: 4 kB / 1.305 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004011/0.3103, allocations: 88 kB / 1.305 GB, free: 5.18 MB / 0.9981 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.00119/0.3114, allocations: 1.091 MB / 1.306 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008139/0.3123, allocations: 398.8 kB / 1.307 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3123, allocations: 1.25 kB / 1.307 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.3126, allocations: 194.5 kB / 1.307 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007008/0.3133, allocations: 134 kB / 1.307 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005068/0.3184, allocations: 3.739 MB / 1.311 GB, free: 15.34 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005064/0.3189, allocations: 0.8308 MB / 1.312 GB, free: 14.48 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002732/0.3192, allocations: 83.33 kB / 1.312 GB, free: 14.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.3194, allocations: 127.4 kB / 1.312 GB, free: 14.28 MB / 1.014 GB Notification: Performance of SimCode: time 8.51e-07/0.3194, allocations: 0 / 1.312 GB, free: 14.28 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04413/0.3635, allocations: 8.677 MB / 1.32 GB, free: 5.836 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.23, allocations: 8.594 kB / 1.32 GB, free: 5.832 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.548453577968758] Failed to read output from testmodel.py, exit status != 0: 12.86554635403445 12.426749327 12.131451463 Calling exit ...