Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009291/0.0009291, allocations: 102.6 kB / 15.98 MB, free: 6.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009901/0.0009901, allocations: 192.6 kB / 16.9 MB, free: 6.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6478/0.6478, allocations: 115.3 MB / 406.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 72.75 kB / 493.2 MB, free: 6.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1203, allocations: 76.2 MB / 0.5561 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01204/0.1324, allocations: 10.84 MB / 0.5667 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.1444, allocations: 8.707 MB / 0.5752 GB, free: 6.996 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.1456, allocations: 51.69 kB / 0.5752 GB, free: 6.945 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003911/0.1495, allocations: 1.568 MB / 0.5767 GB, free: 5.375 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.1532, allocations: 1.395 MB / 0.5781 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.1548, allocations: 0.6151 MB / 0.5787 GB, free: 3.367 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002998/0.1578, allocations: 2.29 MB / 0.5809 GB, free: 1.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2215/0.3793, allocations: 1.537 MB / 0.5824 GB, free: 11.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.3812, allocations: 1.005 MB / 0.5834 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001845/0.383, allocations: 1.047 MB / 0.5844 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005299/0.3836, allocations: 137 kB / 0.5846 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.3854, allocations: 0.8065 MB / 0.5854 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008388/0.3863, allocations: 0.5673 MB / 0.5859 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001711/0.388, allocations: 0.8878 MB / 0.5868 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003145/0.3912, allocations: 2.594 MB / 0.5893 GB, free: 11.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3912, allocations: 0.7031 kB / 0.5893 GB, free: 11.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3912, allocations: 0 / 0.5893 GB, free: 11.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.457e-05/0.3912, allocations: 0.8125 kB / 0.5893 GB, free: 11.15 MB / 446.1 MB 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.002989/0.3942, allocations: 2.012 MB / 0.5913 GB, free: 10.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3942, allocations: 9.812 kB / 0.5913 GB, free: 10.13 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002251/0.3945, allocations: 191.3 kB / 0.5915 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.4055, allocations: 2.053 MB / 0.5935 GB, free: 9.984 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/0.4073, allocations: 1.123 MB / 0.5946 GB, free: 9.566 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.697e-05/0.4074, allocations: 85.8 kB / 0.5947 GB, free: 9.562 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/0.4077, allocations: 115.6 kB / 0.5948 GB, free: 9.562 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005272/0.4129, allocations: 2.484 MB / 0.5972 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.835e-05/0.413, allocations: 10.34 kB / 0.5972 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.4132, allocations: 56.78 kB / 0.5973 GB, free: 9.145 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003156/0.4135, allocations: 129.7 kB / 0.5974 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00643/0.4199, allocations: 2.54 MB / 0.5999 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01103/0.431, allocations: 10.08 MB / 0.6097 GB, free: 18.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00539/0.4364, allocations: 1.947 MB / 0.6116 GB, free: 17.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002358/0.4388, allocations: 0.9721 MB / 0.6125 GB, free: 16.54 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.4388, allocations: 5.875 kB / 0.6126 GB, free: 16.54 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.4388, allocations: 41.53 kB / 0.6126 GB, free: 16.49 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.395e-06/0.4389, allocations: 0 / 0.6126 GB, free: 16.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02848/0.4673, allocations: 8.719 MB / 0.6211 GB, free: 12.24 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.4674, allocations: 60.94 kB / 0.6212 GB, free: 12.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.4688, allocations: 1.101 MB / 0.6222 GB, free: 11.56 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.4689, allocations: 44.64 kB / 0.6223 GB, free: 11.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004768/0.4694, allocations: 0.7292 MB / 0.623 GB, free: 10.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.4697, allocations: 285.7 kB / 0.6233 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003846/0.47, allocations: 204.4 kB / 0.6235 GB, free: 10.51 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4702, allocations: 338 kB / 0.6238 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002642/0.4728, allocations: 1.078 MB / 0.6248 GB, free: 9.629 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002876/0.4757, allocations: 1.3 MB / 0.6261 GB, free: 8.801 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005563/0.4813, allocations: 2.38 MB / 0.6284 GB, free: 6.664 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.4813, allocations: 4 kB / 0.6284 GB, free: 6.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008431/0.4897, allocations: 3.278 MB / 0.6316 GB, free: 3.418 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.4898, allocations: 8 kB / 0.6316 GB, free: 3.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.4898, allocations: 8.938 kB / 0.6317 GB, free: 3.402 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002638/0.4924, allocations: 0.7914 MB / 0.6324 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.4942, allocations: 419.8 kB / 0.6328 GB, free: 2.191 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/0.5093, allocations: 15.93 MB / 0.6484 GB, free: 1.219 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/0.5118, allocations: 291.5 kB / 0.6487 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.512, allocations: 52.02 kB / 0.6487 GB, free: 0.8828 MB / 478.1 MB 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.0008219/0.5128, allocations: 396.5 kB / 0.6491 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003347/0.5132, allocations: 146.3 kB / 0.6492 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008417/0.5216, allocations: 3.21 MB / 0.6524 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.5216, allocations: 11.94 kB / 0.6524 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/0.5216, allocations: 7.984 kB / 0.6524 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.5216, allocations: 7.984 kB / 0.6524 GB, free: 13.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.5324, allocations: 4.898 MB / 0.6572 GB, free: 8.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.5325, allocations: 4 kB / 0.6572 GB, free: 8.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/0.534, allocations: 352.6 kB / 0.6575 GB, free: 7.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002391/0.5364, allocations: 0.7036 MB / 0.6582 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.5366, allocations: 31.97 kB / 0.6582 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/0.5514, allocations: 15.54 MB / 0.6734 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5514, allocations: 6.656 kB / 0.6734 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007901/0.5593, allocations: 3.044 MB / 0.6764 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008459/0.5602, allocations: 387.1 kB / 0.6768 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003547/0.5606, allocations: 16 kB / 0.6768 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/0.5625, allocations: 287.5 kB / 0.677 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.5627, allocations: 89.73 kB / 0.6771 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.5628, allocations: 39.97 kB / 0.6772 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001005/0.5639, allocations: 0.7327 MB / 0.6779 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5639, allocations: 0 / 0.6779 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001522/0.5654, allocations: 432 kB / 0.6783 GB, free: 1.395 MB / 0.4981 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.007998/0.5734, allocations: 3.63 MB / 0.6818 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00831/0.5817, allocations: 3.746 MB / 0.6855 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5817, allocations: 3.656 kB / 0.6855 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004746/0.5865, allocations: 2.376 MB / 0.6878 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.5889, allocations: 0.521 MB / 0.6883 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0353/0.6242, allocations: 17.1 MB / 0.705 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.6253, allocations: 1.388 MB / 0.7064 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001614/0.627, allocations: 379.9 kB / 0.7067 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008116/0.6278, allocations: 0.6008 MB / 0.7073 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of SimCode: time 1.453e-06/0.6278, allocations: 0 / 0.7073 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07736/0.7052, allocations: 41.3 MB / 0.7477 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/0.7054, allocations: 218.8 kB / 0.7479 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.899/3.604, allocations: 3.938 kB / 0.7479 GB, free: 10.07 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)