Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001226/0.001226, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.000947/0.000947, allocations: 218.3 kB / 22.25 MB, free: 3.699 MB / 13.93 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 0.9956/0.9956, allocations: 230.6 MB / 256 MB, free: 9.793 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8031/0.8031, allocations: 203.8 MB / 0.5042 GB, free: 10.74 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009226/0.0009226, allocations: 71 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5664/0.5673, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003654/0.5709, allocations: 3.868 MB / 0.8216 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.5729, allocations: 1.887 MB / 0.8235 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.5731, allocations: 24.75 kB / 0.8235 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000655/0.5737, allocations: 276.2 kB / 0.8238 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004635/0.5742, allocations: 314.3 kB / 0.8241 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.5746, allocations: 251 kB / 0.8243 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000559/0.5751, allocations: 0.6057 MB / 0.8249 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/0.5755, allocations: 244.2 kB / 0.8251 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00033/0.5758, allocations: 243.6 kB / 0.8254 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.5761, allocations: 250.3 kB / 0.8256 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.5762, allocations: 30.78 kB / 0.8256 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003425/0.5765, allocations: 282.2 kB / 0.8259 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.5766, allocations: 121.2 kB / 0.826 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.5768, allocations: 210.7 kB / 0.8262 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006165/0.5774, allocations: 0.5927 MB / 0.8268 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5774, allocations: 1.375 kB / 0.8268 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5774, allocations: 0 / 0.8268 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.5774, allocations: 0 / 0.8268 GB, free: 11.75 MB / 0.6198 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.0008667/0.5783, allocations: 0.6821 MB / 0.8275 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.5783, allocations: 11.22 kB / 0.8275 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.979e-05/0.5784, allocations: 72.88 kB / 0.8275 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004915/0.5789, allocations: 137.2 kB / 0.8277 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.5793, allocations: 341.2 kB / 0.828 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.5793, allocations: 21.53 kB / 0.828 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.5793, allocations: 31.52 kB / 0.828 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006094/0.58, allocations: 0.5534 MB / 0.8286 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.58, allocations: 2.719 kB / 0.8286 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.58, allocations: 12.94 kB / 0.8286 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-05/0.5801, allocations: 41.42 kB / 0.8286 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005035/0.5806, allocations: 412.4 kB / 0.829 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00202/0.5826, allocations: 3.285 MB / 0.8322 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/0.5832, allocations: 306.5 kB / 0.8325 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002975/0.5835, allocations: 164.9 kB / 0.8327 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.5835, allocations: 3.656 kB / 0.8327 GB, free: 7.285 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.5835, allocations: 40.19 kB / 0.8327 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.523e-06/0.5835, allocations: 0.5 kB / 0.8327 GB, free: 7.238 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001588/0.5851, allocations: 0.8346 MB / 0.8336 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.5851, allocations: 58.42 kB / 0.8336 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.5855, allocations: 339.2 kB / 0.8339 GB, free: 6.656 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.5855, allocations: 30.89 kB / 0.834 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.5856, allocations: 246.5 kB / 0.8342 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.186e-05/0.5857, allocations: 103.7 kB / 0.8343 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.978e-05/0.5858, allocations: 83.23 kB / 0.8344 GB, free: 6.285 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.5859, allocations: 346.5 kB / 0.8347 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.5861, allocations: 150.1 kB / 0.8348 GB, free: 5.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.5864, allocations: 293.9 kB / 0.8351 GB, free: 5.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.5868, allocations: 482.9 kB / 0.8356 GB, free: 5.355 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5868, allocations: 6.562 kB / 0.8356 GB, free: 5.352 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007343/0.5876, allocations: 0.56 MB / 0.8361 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.5876, allocations: 8.312 kB / 0.8362 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.5876, allocations: 4.281 kB / 0.8362 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/0.5878, allocations: 92.03 kB / 0.8362 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.588, allocations: 83.41 kB / 0.8363 GB, free: 5.059 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.5881, allocations: 20.03 kB / 0.8363 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.5882, allocations: 29.95 kB / 0.8364 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.5882, allocations: 17.75 kB / 0.8364 GB, free: 5.035 MB / 0.6198 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.0001594/0.5884, allocations: 167 kB / 0.8365 GB, free: 4.895 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.5884, allocations: 39.72 kB / 0.8366 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006827/0.5891, allocations: 470.6 kB / 0.837 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5891, allocations: 3.656 kB / 0.837 GB, free: 4.664 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.5891, allocations: 6.422 kB / 0.837 GB, free: 4.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.5891, allocations: 5.062 kB / 0.837 GB, free: 4.656 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.5903, allocations: 0.9341 MB / 0.838 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5903, allocations: 0.6562 kB / 0.838 GB, free: 4.121 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.5904, allocations: 51.56 kB / 0.838 GB, free: 4.117 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001534/0.5906, allocations: 81.39 kB / 0.8381 GB, free: 4.078 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.5906, allocations: 7.062 kB / 0.8381 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5906, allocations: 6.281 kB / 0.8381 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5906, allocations: 1.031 kB / 0.8381 GB, free: 4.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000576/0.5912, allocations: 0.5428 MB / 0.8386 GB, free: 3.754 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.687e-05/0.5913, allocations: 70.45 kB / 0.8387 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.5913, allocations: 7.109 kB / 0.8387 GB, free: 3.711 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.5914, allocations: 25.42 kB / 0.8387 GB, free: 3.703 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.5915, allocations: 20.59 kB / 0.8387 GB, free: 3.703 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.5915, allocations: 13.44 kB / 0.8388 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001769/0.5917, allocations: 234.9 kB / 0.839 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5917, allocations: 0 / 0.839 GB, free: 3.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002901/0.592, allocations: 89.25 kB / 0.8391 GB, free: 3.559 MB / 0.6198 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.000769/0.5927, allocations: 1.085 MB / 0.8401 GB, free: 2.707 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006059/0.5933, allocations: 406.3 kB / 0.8405 GB, free: 2.559 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5933, allocations: 0 / 0.8405 GB, free: 2.559 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002406/0.5936, allocations: 190.7 kB / 0.8407 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.594, allocations: 127.7 kB / 0.8408 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.5972, allocations: 3.735 MB / 0.8445 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.5975, allocations: 0.8216 MB / 0.8453 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001742/0.5977, allocations: 86.5 kB / 0.8454 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.5978, allocations: 125.5 kB / 0.8455 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of SimCode: time 5.71e-07/0.5978, allocations: 0 / 0.8455 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.6201, allocations: 8.643 MB / 0.8539 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.266/7.886, allocations: 9.781 kB / 0.8539 GB, free: 10.84 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.952610919019207] Failed to read output from testmodel.py, exit status != 0: 7.97370531107299 7.992435022 7.411893812 Calling exit ...