Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001016/0.001016, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001315/0.001315, allocations: 208.1 kB / 22.25 MB, free: 3.574 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.9397/0.9397, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.75/0.75, allocations: 203.5 MB / 0.5039 GB, free: 10.73 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IDEAS_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.001347/0.001347, allocations: 66.08 kB / 0.7178 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5066/0.508, allocations: 102 MB / 0.8174 GB, free: 1.242 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.0039/0.5119, allocations: 3.603 MB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.514, allocations: 1.767 MB / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.5142, allocations: 23.59 kB / 0.8226 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006316/0.5148, allocations: 266.9 kB / 0.8229 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004091/0.5152, allocations: 307.4 kB / 0.8232 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.5156, allocations: 259.7 kB / 0.8234 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005237/0.5161, allocations: 0.6058 MB / 0.824 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.5165, allocations: 231.8 kB / 0.8243 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000337/0.5168, allocations: 246.8 kB / 0.8245 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.5171, allocations: 230.7 kB / 0.8247 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.5171, allocations: 25.81 kB / 0.8247 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003463/0.5175, allocations: 250.5 kB / 0.825 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.5176, allocations: 128.9 kB / 0.8251 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.5178, allocations: 170 kB / 0.8253 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007305/0.5185, allocations: 0.5984 MB / 0.8258 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5185, allocations: 2.094 kB / 0.8258 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.043e-06/0.5185, allocations: 0 / 0.8258 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.5185, allocations: 0 / 0.8258 GB, free: 12.24 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.001089/0.5196, allocations: 0.6792 MB / 0.8265 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.5197, allocations: 9.781 kB / 0.8265 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.595e-05/0.5198, allocations: 72.42 kB / 0.8266 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005853/0.5203, allocations: 136.6 kB / 0.8267 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00047/0.5208, allocations: 341.3 kB / 0.827 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.5208, allocations: 21.12 kB / 0.8271 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.5209, allocations: 32.58 kB / 0.8271 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000797/0.5217, allocations: 0.631 MB / 0.8277 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.5217, allocations: 2.469 kB / 0.8277 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.5217, allocations: 17.17 kB / 0.8277 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.478e-05/0.5218, allocations: 44.3 kB / 0.8278 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006015/0.5224, allocations: 411.6 kB / 0.8282 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.525, allocations: 2.75 MB / 0.8308 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000721/0.5257, allocations: 305.9 kB / 0.8311 GB, free: 8.344 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004421/0.5262, allocations: 164.2 kB / 0.8313 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.5262, allocations: 3.125 kB / 0.8313 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.5262, allocations: 33.81 kB / 0.8313 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.5262, allocations: 3.938 kB / 0.8313 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001924/0.5282, allocations: 0.8388 MB / 0.8322 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.5282, allocations: 54.73 kB / 0.8322 GB, free: 7.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/0.5285, allocations: 346.4 kB / 0.8325 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.5285, allocations: 34.95 kB / 0.8326 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.5287, allocations: 252.3 kB / 0.8328 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/0.5287, allocations: 96.69 kB / 0.8329 GB, free: 7.332 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.908e-05/0.5288, allocations: 78.17 kB / 0.833 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5289, allocations: 348.2 kB / 0.8333 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.5291, allocations: 153.7 kB / 0.8335 GB, free: 6.902 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.5294, allocations: 291.1 kB / 0.8337 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/0.5299, allocations: 488.5 kB / 0.8342 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5299, allocations: 1.125 kB / 0.8342 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007641/0.5307, allocations: 0.5612 MB / 0.8347 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.5307, allocations: 7.031 kB / 0.8348 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5307, allocations: 5.219 kB / 0.8348 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.5309, allocations: 96.91 kB / 0.8349 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.5311, allocations: 83.12 kB / 0.8349 GB, free: 6.062 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.5312, allocations: 15.83 kB / 0.8349 GB, free: 6.055 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.5313, allocations: 28.97 kB / 0.835 GB, free: 6.047 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.5313, allocations: 19.75 kB / 0.835 GB, free: 6.043 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.0001493/0.5315, allocations: 170.5 kB / 0.8352 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.5315, allocations: 43.67 kB / 0.8352 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006104/0.5321, allocations: 471.1 kB / 0.8356 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5321, allocations: 4.25 kB / 0.8357 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.026e-06/0.5321, allocations: 0.9844 kB / 0.8357 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.5321, allocations: 2.234 kB / 0.8357 GB, free: 5.664 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.5332, allocations: 0.8946 MB / 0.8365 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5332, allocations: 5.125 kB / 0.8365 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.5333, allocations: 46.19 kB / 0.8366 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/0.5334, allocations: 87.03 kB / 0.8367 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.5335, allocations: 6.984 kB / 0.8367 GB, free: 5.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5335, allocations: 6.484 kB / 0.8367 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5335, allocations: 1 kB / 0.8367 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005645/0.534, allocations: 0.5471 MB / 0.8372 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.456e-05/0.5341, allocations: 58.02 kB / 0.8373 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.5342, allocations: 14.77 kB / 0.8373 GB, free: 4.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.5343, allocations: 25.86 kB / 0.8373 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.5343, allocations: 29.06 kB / 0.8373 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.5344, allocations: 5.641 kB / 0.8373 GB, free: 4.715 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004506/0.5348, allocations: 234.3 kB / 0.8376 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5348, allocations: 0 / 0.8376 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002932/0.5351, allocations: 89.41 kB / 0.8376 GB, free: 4.582 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.0007503/0.5358, allocations: 1.093 MB / 0.8387 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000563/0.5364, allocations: 412 kB / 0.8391 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5364, allocations: 0 / 0.8391 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.5366, allocations: 186.5 kB / 0.8393 GB, free: 3.504 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.5371, allocations: 139.2 kB / 0.8394 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.5405, allocations: 3.729 MB / 0.8431 GB, free: 1.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.5407, allocations: 231.3 kB / 0.8433 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.5409, allocations: 75.14 kB / 0.8433 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.541, allocations: 127.6 kB / 0.8435 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of SimCode: time 5.71e-07/0.541, allocations: 1.062 kB / 0.8435 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.564, allocations: 9.334 MB / 0.8526 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.851/7.415, allocations: 6.156 kB / 0.8526 GB, free: 12.04 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.24987030075863] Failed to read output from testmodel.py, exit status != 0: 7.501858978997916 7.515429676 6.994603999 Calling exit ...