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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001447, allocations: 106 kB / 16.4 MB, free: 6.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002263/0.002263, allocations: 192.6 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.086/1.086, allocations: 173.4 MB / 470.7 MB, free: 13.73 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 62.47 kB / 0.6478 GB, free: 11.77 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2051, allocations: 89.52 MB / 0.7353 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006306/0.2114, allocations: 3.739 MB / 0.7389 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003469/0.2149, allocations: 1.785 MB / 0.7407 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000543/0.2155, allocations: 19.88 kB / 0.7407 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.2168, allocations: 270.6 kB / 0.7409 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009376/0.2177, allocations: 302.4 kB / 0.7412 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007214/0.2185, allocations: 251.5 kB / 0.7415 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008556/0.2193, allocations: 0.6088 MB / 0.7421 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005288/0.2199, allocations: 258.5 kB / 0.7423 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004286/0.2203, allocations: 231.2 kB / 0.7425 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000425/0.2208, allocations: 238.9 kB / 0.7427 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.859e-05/0.2208, allocations: 24 kB / 0.7428 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005791/0.2214, allocations: 275.4 kB / 0.743 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.2216, allocations: 115.6 kB / 0.7431 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.2219, allocations: 206.9 kB / 0.7433 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009327/0.2228, allocations: 0.5914 MB / 0.7439 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2228, allocations: 0 / 0.7439 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2228, allocations: 4 kB / 0.7439 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.2229, allocations: 0 / 0.7439 GB, free: 9.328 MB / 0.5762 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.001408/0.2243, allocations: 0.7472 MB / 0.7447 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.2243, allocations: 12.03 kB / 0.7447 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.978e-05/0.2244, allocations: 82.7 kB / 0.7447 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008975/0.2253, allocations: 132.5 kB / 0.7449 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006149/0.226, allocations: 411.9 kB / 0.7453 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.226, allocations: 21.03 kB / 0.7453 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.244e-05/0.2261, allocations: 32.33 kB / 0.7453 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009248/0.227, allocations: 0.5587 MB / 0.7459 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.227, allocations: 3.938 kB / 0.7459 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.2271, allocations: 19.98 kB / 0.7459 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.227e-05/0.2272, allocations: 40.53 kB / 0.7459 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008023/0.228, allocations: 413.7 kB / 0.7463 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.2311, allocations: 3.326 MB / 0.7496 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.2319, allocations: 334.5 kB / 0.7499 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.2322, allocations: 179.8 kB / 0.7501 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.2323, allocations: 7.984 kB / 0.7501 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2323, allocations: 34.56 kB / 0.7501 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=26): time 1.974e-06/0.2323, allocations: 7.938 kB / 0.7501 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of matching and sorting (n=27): time 0.002249/0.2346, allocations: 1.06 MB / 0.7511 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.2346, allocations: 55.64 kB / 0.7512 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/0.235, allocations: 341.6 kB / 0.7515 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.2351, allocations: 25.7 kB / 0.7515 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.2353, allocations: 248.2 kB / 0.7518 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.253e-05/0.2354, allocations: 111 kB / 0.7519 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.2355, allocations: 74.09 kB / 0.752 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.2357, allocations: 350.8 kB / 0.7523 GB, free: 204 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.236, allocations: 144.8 kB / 0.7524 GB, free: 60 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3399/0.576, allocations: 291.1 kB / 0.7527 GB, free: 18.53 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007412/0.5768, allocations: 485.2 kB / 0.7532 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5768, allocations: 1.406 kB / 0.7532 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001106/0.5779, allocations: 0.5625 MB / 0.7537 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.5779, allocations: 7.375 kB / 0.7537 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.5779, allocations: 7.281 kB / 0.7537 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003286/0.5783, allocations: 89.27 kB / 0.7538 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/0.5786, allocations: 89.72 kB / 0.7539 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.5787, allocations: 9.375 kB / 0.7539 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.579, allocations: 27.81 kB / 0.7539 GB, free: 18.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.579, allocations: 19.22 kB / 0.754 GB, free: 18.28 MB / 0.5762 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.0001857/0.5792, allocations: 175.4 kB / 0.7541 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.5793, allocations: 43.03 kB / 0.7542 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009207/0.5802, allocations: 466.4 kB / 0.7546 GB, free: 18.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.5802, allocations: 7.062 kB / 0.7546 GB, free: 18.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.5802, allocations: 4.25 kB / 0.7546 GB, free: 18.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.5802, allocations: 3.172 kB / 0.7546 GB, free: 18.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.5816, allocations: 0.9599 MB / 0.7556 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.5816, allocations: 1.672 kB / 0.7556 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.5818, allocations: 52.58 kB / 0.7556 GB, free: 17.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002165/0.582, allocations: 79.69 kB / 0.7557 GB, free: 17.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.5821, allocations: 6.844 kB / 0.7557 GB, free: 17.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.5821, allocations: 5.641 kB / 0.7557 GB, free: 17.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.5821, allocations: 6.25 kB / 0.7557 GB, free: 17.72 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007236/0.5828, allocations: 0.5508 MB / 0.7562 GB, free: 17.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.5829, allocations: 134.1 kB / 0.7564 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.583, allocations: 11.22 kB / 0.7564 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.5832, allocations: 26.61 kB / 0.7564 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.5833, allocations: 22 kB / 0.7564 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.5833, allocations: 8.625 kB / 0.7564 GB, free: 17.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002163/0.5835, allocations: 234.8 kB / 0.7567 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5835, allocations: 0 / 0.7567 GB, free: 17.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004147/0.584, allocations: 88.06 kB / 0.7567 GB, free: 17.34 MB / 0.5762 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.0009021/0.5849, allocations: 1.098 MB / 0.7578 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008226/0.5857, allocations: 0.6285 MB / 0.7584 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.5857, allocations: 0 / 0.7584 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003974/0.5861, allocations: 442.5 kB / 0.7589 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/0.5868, allocations: 132.1 kB / 0.759 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.5907, allocations: 3.724 MB / 0.7626 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.591, allocations: 0.8239 MB / 0.7634 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00024/0.5912, allocations: 79.69 kB / 0.7635 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.5914, allocations: 130 kB / 0.7636 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/0.5914, allocations: 0 / 0.7636 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03824/0.6296, allocations: 8.312 MB / 0.7717 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.91, allocations: 7.953 kB / 0.7717 GB, free: 12.64 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.775759594980627] Failed to read output from testmodel.py, exit status != 0: 10.997900707181543 11.015995652 10.789760683 Calling exit ...