Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.0008518/0.0008518, 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.001011/0.001011, allocations: 170.3 kB / 22.46 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.886/0.886, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.001415/0.001415, allocations: 234.4 kB / 259.4 MB, free: 13.03 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.6718/0.6718, allocations: 138.4 MB / 454.3 MB, free: 30 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.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.572e-06/1.572e-06, allocations: 0 / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.143e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.2749/0.2749, allocations: 10.17 MB / 0.6562 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.008419/0.2834, allocations: 8.381 MB / 0.6644 GB, free: 46.59 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.2845, allocations: 82.16 kB / 0.6645 GB, free: 46.55 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.2867, allocations: 1.679 MB / 0.6661 GB, free: 45.61 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003611/0.2903, allocations: 1.611 MB / 0.6677 GB, free: 44.63 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.2918, allocations: 0.6874 MB / 0.6684 GB, free: 44.27 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002263/0.294, allocations: 2.364 MB / 0.6707 GB, free: 43.1 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.2952, allocations: 1.139 MB / 0.6718 GB, free: 42.5 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.2968, allocations: 1.386 MB / 0.6731 GB, free: 41.95 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.2979, allocations: 0.9044 MB / 0.674 GB, free: 41.66 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.298, allocations: 138.8 kB / 0.6742 GB, free: 41.66 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.2992, allocations: 0.7472 MB / 0.6749 GB, free: 41.45 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003872/0.2996, allocations: 0.6029 MB / 0.6755 GB, free: 41.14 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005333/0.3001, allocations: 0.598 MB / 0.6761 GB, free: 40.89 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.3028, allocations: 2.613 MB / 0.6786 GB, free: 40.02 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3028, allocations: 0 / 0.6786 GB, free: 40.02 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3028, allocations: 0 / 0.6786 GB, free: 40.02 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.476e-05/0.3028, allocations: 4 kB / 0.6786 GB, free: 40.02 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002349/0.3052, allocations: 1.977 MB / 0.6805 GB, free: 38.77 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.3052, allocations: 11.97 kB / 0.6806 GB, free: 38.77 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001845/0.3054, allocations: 187.4 kB / 0.6807 GB, free: 38.65 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006247/0.3117, allocations: 2.063 MB / 0.6828 GB, free: 38.52 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.3135, allocations: 1.138 MB / 0.6839 GB, free: 37.87 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.338e-05/0.3135, allocations: 89.47 kB / 0.684 GB, free: 37.82 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/0.3137, allocations: 119.6 kB / 0.6841 GB, free: 37.78 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003606/0.3173, allocations: 2.889 MB / 0.6869 GB, free: 36.29 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.3174, allocations: 6.125 kB / 0.6869 GB, free: 36.29 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.3175, allocations: 55.11 kB / 0.6869 GB, free: 36.25 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002203/0.3177, allocations: 126.9 kB / 0.6871 GB, free: 36.23 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004279/0.322, allocations: 2.541 MB / 0.6895 GB, free: 35.61 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007485/0.3295, allocations: 7.649 MB / 0.697 GB, free: 29.96 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/0.3327, allocations: 1.844 MB / 0.6988 GB, free: 29.03 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.3342, allocations: 0.9477 MB / 0.6997 GB, free: 28.54 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.3342, allocations: 5.531 kB / 0.6997 GB, free: 28.54 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.3343, allocations: 43.28 kB / 0.6998 GB, free: 28.5 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=53): time 3.096e-06/0.3343, allocations: 0 / 0.6998 GB, free: 28.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=81): time 0.01634/0.3506, allocations: 8.641 MB / 0.7082 GB, free: 24.27 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.3507, allocations: 60.97 kB / 0.7083 GB, free: 24.21 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.3519, allocations: 1.113 MB / 0.7094 GB, free: 23.59 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.472e-05/0.3519, allocations: 41.2 kB / 0.7094 GB, free: 23.55 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.3522, allocations: 0.7475 MB / 0.7101 GB, free: 22.88 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.3524, allocations: 284.2 kB / 0.7104 GB, free: 22.64 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.3526, allocations: 207 kB / 0.7106 GB, free: 22.52 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.958e-05/0.3527, allocations: 347.2 kB / 0.7109 GB, free: 22.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.3543, allocations: 1.066 MB / 0.712 GB, free: 21.64 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.356, allocations: 1.311 MB / 0.7133 GB, free: 20.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003188/0.3592, allocations: 2.381 MB / 0.7156 GB, free: 19.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.3592, allocations: 8.312 kB / 0.7156 GB, free: 19.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004465/0.3637, allocations: 3.247 MB / 0.7188 GB, free: 16.41 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.3637, allocations: 12.56 kB / 0.7188 GB, free: 16.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.3637, allocations: 8 kB / 0.7188 GB, free: 16.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.3651, allocations: 0.7894 MB / 0.7196 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008877/0.366, allocations: 415.3 kB / 0.72 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007455/0.3734, allocations: 14.98 MB / 0.7346 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.375, allocations: 288.5 kB / 0.7349 GB, free: 15.03 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-05/0.3751, allocations: 55.95 kB / 0.7349 GB, free: 14.97 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007599/0.3759, allocations: 398.2 kB / 0.7353 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.3761, allocations: 155 kB / 0.7354 GB, free: 14.42 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005057/0.3811, allocations: 3.17 MB / 0.7385 GB, free: 11.22 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.3811, allocations: 15.98 kB / 0.7385 GB, free: 11.21 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.3812, allocations: 8 kB / 0.7386 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.3812, allocations: 7.922 kB / 0.7386 GB, free: 11.19 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006813/0.388, allocations: 4.609 MB / 0.7431 GB, free: 6.461 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.388, allocations: 4 kB / 0.7431 GB, free: 6.457 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008035/0.3888, allocations: 359.7 kB / 0.7434 GB, free: 6.105 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.3901, allocations: 0.6924 MB / 0.7441 GB, free: 5.391 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.415e-05/0.3901, allocations: 42.52 kB / 0.7441 GB, free: 5.352 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009651/0.3998, allocations: 14.6 MB / 0.7584 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.3998, allocations: 8.109 kB / 0.7584 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005054/0.4048, allocations: 3.013 MB / 0.7613 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006494/0.4055, allocations: 314.8 kB / 0.7616 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.4056, allocations: 20 kB / 0.7616 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009491/0.4065, allocations: 291.5 kB / 0.7619 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/0.4068, allocations: 84.39 kB / 0.762 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.063e-05/0.4068, allocations: 43.95 kB / 0.7621 GB, free: 2.008 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007389/0.4076, allocations: 0.7366 MB / 0.7628 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4076, allocations: 0 / 0.7628 GB, free: 1.27 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001141/0.4087, allocations: 431.9 kB / 0.7632 GB, free: 0.8477 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004635/0.4133, allocations: 3.589 MB / 0.7667 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004977/0.4183, allocations: 3.515 MB / 0.7701 GB, free: 9.547 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.4183, allocations: 4.125 kB / 0.7701 GB, free: 9.543 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002715/0.421, allocations: 2.313 MB / 0.7724 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.4227, allocations: 0.5251 MB / 0.7729 GB, free: 6.633 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02179/0.4445, allocations: 15.83 MB / 0.7884 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009144/0.4454, allocations: 0.802 MB / 0.7891 GB, free: 5.535 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001127/0.4465, allocations: 383.8 kB / 0.7895 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006171/0.4471, allocations: 0.5979 MB / 0.7901 GB, free: 4.559 MB / 0.6198 GB Notification: Performance of SimCode: time 2.424e-06/0.4471, allocations: 0 / 0.7901 GB, free: 4.559 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07241/0.5195, allocations: 45.69 MB / 0.8347 GB, free: 7.758 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.783/8.303, allocations: 7.344 kB / 0.8347 GB, free: 7.754 MB / 0.6667 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_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_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.001193181611598] Failed to read output from testmodel.py, exit status != 0: 8.406211152672768 8.413661877000001 8.108965096 Calling exit ...