Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007465/0.0007465, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007904/0.0007904, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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.9026/0.9026, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001458/0.001458, allocations: 242.1 kB / 259.4 MB, free: 13.01 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6811/0.6811, allocations: 138.4 MB / 454.3 MB, free: 29.96 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.6463 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.937e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.2398/0.2398, allocations: 3.593 MB / 0.6498 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.2417, allocations: 1.734 MB / 0.6515 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.2419, allocations: 25.56 kB / 0.6515 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005907/0.2425, allocations: 277.7 kB / 0.6518 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004121/0.2429, allocations: 323 kB / 0.6521 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.2433, allocations: 252.2 kB / 0.6523 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0004452/0.2437, allocations: 0.6227 MB / 0.6529 GB, free: 54.2 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/0.244, allocations: 228 kB / 0.6531 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.2444, allocations: 344.5 kB / 0.6535 GB, free: 53.96 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.2447, allocations: 202.1 kB / 0.6537 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.2447, allocations: 26.84 kB / 0.6537 GB, free: 53.9 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.245, allocations: 248.3 kB / 0.6539 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.2451, allocations: 128.7 kB / 0.6541 GB, free: 53.76 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.2452, allocations: 142.6 kB / 0.6542 GB, free: 53.7 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005422/0.2458, allocations: 0.6101 MB / 0.6548 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.2458, allocations: 1.75 kB / 0.6548 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2458, allocations: 0 / 0.6548 GB, free: 53.49 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.2458, allocations: 0.7812 kB / 0.6548 GB, free: 53.49 MB / 0.5573 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.0008145/0.2466, allocations: 0.657 MB / 0.6554 GB, free: 53 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.2467, allocations: 15.88 kB / 0.6554 GB, free: 53 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.431e-05/0.2467, allocations: 74.81 kB / 0.6555 GB, free: 52.94 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005099/0.2472, allocations: 139.6 kB / 0.6557 GB, free: 52.91 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.2476, allocations: 336.9 kB / 0.656 GB, free: 52.68 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.2476, allocations: 29.83 kB / 0.656 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.2477, allocations: 33.06 kB / 0.656 GB, free: 52.65 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005479/0.2482, allocations: 0.6335 MB / 0.6567 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.2482, allocations: 1.781 kB / 0.6567 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.2483, allocations: 14.09 kB / 0.6567 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.78e-05/0.2483, allocations: 41.62 kB / 0.6567 GB, free: 52.19 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.2488, allocations: 408.6 kB / 0.6571 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.2502, allocations: 2.731 MB / 0.6598 GB, free: 49.76 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.2507, allocations: 306.8 kB / 0.6601 GB, free: 49.65 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.2509, allocations: 172.8 kB / 0.6602 GB, free: 49.59 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.2509, allocations: 7 kB / 0.6602 GB, free: 49.59 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.2509, allocations: 32.25 kB / 0.6603 GB, free: 49.55 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=26): time 2.064e-06/0.2509, allocations: 1.656 kB / 0.6603 GB, free: 49.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=27): time 0.001232/0.2521, allocations: 0.8445 MB / 0.6611 GB, free: 49.21 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.2522, allocations: 58.62 kB / 0.6611 GB, free: 49.14 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.2524, allocations: 345.1 kB / 0.6615 GB, free: 48.96 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.2524, allocations: 28.42 kB / 0.6615 GB, free: 48.93 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.2525, allocations: 252.4 kB / 0.6617 GB, free: 48.72 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.2525, allocations: 107 kB / 0.6618 GB, free: 48.64 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/0.2526, allocations: 74.59 kB / 0.6619 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.995e-05/0.2527, allocations: 345.6 kB / 0.6622 GB, free: 48.27 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.2528, allocations: 150.6 kB / 0.6624 GB, free: 48.22 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.253, allocations: 289.5 kB / 0.6627 GB, free: 48 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.2534, allocations: 491.4 kB / 0.6631 GB, free: 47.68 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2534, allocations: 1.781 kB / 0.6631 GB, free: 47.68 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005758/0.254, allocations: 0.5572 MB / 0.6637 GB, free: 47.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.254, allocations: 7.094 kB / 0.6637 GB, free: 47.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.254, allocations: 7.156 kB / 0.6637 GB, free: 47.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/0.2542, allocations: 94.72 kB / 0.6638 GB, free: 47.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.2544, allocations: 88.41 kB / 0.6639 GB, free: 47.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.2544, allocations: 11.28 kB / 0.6639 GB, free: 47.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.2546, allocations: 26.61 kB / 0.6639 GB, free: 47.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.2546, allocations: 18.41 kB / 0.6639 GB, free: 47.37 MB / 0.5573 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.0001267/0.2547, allocations: 176.2 kB / 0.6641 GB, free: 47.22 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.2548, allocations: 46.58 kB / 0.6641 GB, free: 47.19 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005694/0.2553, allocations: 461.6 kB / 0.6646 GB, free: 46.99 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2553, allocations: 7.406 kB / 0.6646 GB, free: 46.98 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2553, allocations: 0 / 0.6646 GB, free: 46.98 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2553, allocations: 5.297 kB / 0.6646 GB, free: 46.98 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008968/0.2562, allocations: 0.8894 MB / 0.6654 GB, free: 46.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2562, allocations: 6.703 kB / 0.6655 GB, free: 46.46 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.2564, allocations: 46.88 kB / 0.6655 GB, free: 46.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001343/0.2565, allocations: 89.06 kB / 0.6656 GB, free: 46.42 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.2565, allocations: 10.83 kB / 0.6656 GB, free: 46.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2565, allocations: 4.094 kB / 0.6656 GB, free: 46.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2565, allocations: 1.938 kB / 0.6656 GB, free: 46.41 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004786/0.257, allocations: 0.5436 MB / 0.6661 GB, free: 46.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/0.2571, allocations: 61.34 kB / 0.6662 GB, free: 46.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.2571, allocations: 7.875 kB / 0.6662 GB, free: 46.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.2572, allocations: 20.34 kB / 0.6662 GB, free: 46.06 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.2573, allocations: 34.02 kB / 0.6662 GB, free: 46.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.2573, allocations: 8.406 kB / 0.6663 GB, free: 46.05 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001415/0.2574, allocations: 233.3 kB / 0.6665 GB, free: 45.93 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2574, allocations: 1.844 kB / 0.6665 GB, free: 45.93 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002879/0.2577, allocations: 89.16 kB / 0.6666 GB, free: 45.92 MB / 0.5573 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.0006076/0.2583, allocations: 1.092 MB / 0.6676 GB, free: 45.07 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005387/0.2589, allocations: 399.1 kB / 0.668 GB, free: 44.93 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2589, allocations: 0 / 0.668 GB, free: 44.93 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.2591, allocations: 193 kB / 0.6682 GB, free: 44.86 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.2596, allocations: 124.2 kB / 0.6683 GB, free: 44.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.2624, allocations: 3.723 MB / 0.672 GB, free: 42.41 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.2625, allocations: 228.8 kB / 0.6722 GB, free: 42.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001731/0.2627, allocations: 80.91 kB / 0.6722 GB, free: 42.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.2628, allocations: 126.8 kB / 0.6724 GB, free: 42.2 MB / 0.5573 GB Notification: Performance of SimCode: time 8.51e-07/0.2628, allocations: 2.062 kB / 0.6724 GB, free: 42.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.2841, allocations: 9.467 MB / 0.6816 GB, free: 40.76 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.913/7.198, allocations: 5.594 kB / 0.6816 GB, free: 40.75 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.932850440964103] Failed to read output from testmodel.py, exit status != 0: 7.282804380171001 7.292247058 7.044157437 Calling exit ...