Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.002234/0.002234, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 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.002703/0.002703, allocations: 219.8 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.128/3.128, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001937/0.001937, allocations: 62.7 kB / 1.17 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3283, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005928/0.3342, allocations: 3.621 MB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00334/0.3376, allocations: 1.75 MB / 1.351 GB, free: 10.58 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000312/0.3379, allocations: 23.75 kB / 1.351 GB, free: 10.56 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009697/0.3388, allocations: 270.6 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007829/0.3396, allocations: 314.4 kB / 1.351 GB, free: 9.984 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006263/0.3403, allocations: 249.8 kB / 1.351 GB, free: 9.742 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0008333/0.3411, allocations: 0.613 MB / 1.352 GB, free: 9.129 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004451/0.3415, allocations: 226.9 kB / 1.352 GB, free: 8.902 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004698/0.342, allocations: 251.1 kB / 1.352 GB, free: 8.656 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004399/0.3424, allocations: 254.9 kB / 1.353 GB, free: 8.406 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/0.3425, allocations: 28 kB / 1.353 GB, free: 8.379 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.343, allocations: 243.4 kB / 1.353 GB, free: 8.141 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.3431, allocations: 123.6 kB / 1.353 GB, free: 8.02 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.3434, allocations: 171.2 kB / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000874/0.3442, allocations: 0.5953 MB / 1.354 GB, free: 7.254 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3442, allocations: 0 / 1.354 GB, free: 7.254 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3442, allocations: 0 / 1.354 GB, free: 7.254 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.086e-05/0.3443, allocations: 0 / 1.354 GB, free: 7.254 MB / 1.045 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.001486/0.3458, allocations: 0.6797 MB / 1.354 GB, free: 6.543 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.3458, allocations: 12.03 kB / 1.354 GB, free: 6.531 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.06e-05/0.3458, allocations: 8.844 kB / 1.354 GB, free: 6.523 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.296e-05/0.3459, allocations: 70.72 kB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009745/0.3469, allocations: 136.5 kB / 1.355 GB, free: 6.312 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006848/0.3476, allocations: 345.3 kB / 1.355 GB, free: 5.949 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.3476, allocations: 25.02 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.53e-05/0.3477, allocations: 28.38 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.3488, allocations: 0.6338 MB / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.3488, allocations: 0 / 1.356 GB, free: 5.168 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.3489, allocations: 19.98 kB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.03e-05/0.3489, allocations: 40.62 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007778/0.3497, allocations: 414.1 kB / 1.356 GB, free: 4.707 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.3528, allocations: 2.749 MB / 1.359 GB, free: 1.832 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006779/0.3535, allocations: 314.4 kB / 1.359 GB, free: 1.516 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.3538, allocations: 156.8 kB / 1.359 GB, free: 1.359 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3538, allocations: 11.88 kB / 1.359 GB, free: 1.348 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.3539, allocations: 38.56 kB / 1.359 GB, free: 1.301 MB / 1.045 GB Notification: Performance of pre-optimization done (n=26): time 1.794e-06/0.3539, allocations: 0 / 1.359 GB, free: 1.301 MB / 1.045 GB Notification: Performance of matching and sorting (n=27): time 0.002029/0.3559, allocations: 0.8307 MB / 1.36 GB, free: 464 kB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.356, allocations: 59.64 kB / 1.36 GB, free: 392 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/0.3563, allocations: 341.6 kB / 1.36 GB, free: 44 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.3564, allocations: 33.7 kB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.3566, allocations: 256 kB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.362e-05/0.3567, allocations: 95.17 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.3568, allocations: 78.09 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.357, allocations: 346.8 kB / 1.361 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.3573, allocations: 148.8 kB / 1.361 GB, free: 15.08 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/0.3577, allocations: 294.5 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007427/0.3584, allocations: 478.5 kB / 1.362 GB, free: 14.2 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.3584, allocations: 4 kB / 1.362 GB, free: 14.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001086/0.3595, allocations: 0.5657 MB / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3595, allocations: 6.656 kB / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.3595, allocations: 4 kB / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003337/0.3599, allocations: 90.45 kB / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.3602, allocations: 95.81 kB / 1.363 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.3602, allocations: 11.88 kB / 1.363 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.3605, allocations: 31.97 kB / 1.363 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.3605, allocations: 12 kB / 1.363 GB, free: 13.36 MB / 1.061 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.0002235/0.3608, allocations: 185.7 kB / 1.363 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/0.3608, allocations: 39.77 kB / 1.363 GB, free: 13.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000922/0.3618, allocations: 464.3 kB / 1.364 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.3618, allocations: 3.938 kB / 1.364 GB, free: 12.65 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.3618, allocations: 4 kB / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3618, allocations: 3.984 kB / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.3633, allocations: 0.8978 MB / 1.364 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3633, allocations: 0 / 1.364 GB, free: 11.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.3635, allocations: 51.94 kB / 1.365 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002436/0.3637, allocations: 86.44 kB / 1.365 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.3638, allocations: 4 kB / 1.365 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.3638, allocations: 4 kB / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3638, allocations: 0 / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008778/0.3646, allocations: 0.5512 MB / 1.365 GB, free: 10.94 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.3648, allocations: 59.69 kB / 1.365 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.125e-05/0.3648, allocations: 8 kB / 1.365 GB, free: 10.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.365, allocations: 23.91 kB / 1.365 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/0.3651, allocations: 31.89 kB / 1.365 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.3651, allocations: 4 kB / 1.365 GB, free: 10.81 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002303/0.3654, allocations: 239.1 kB / 1.365 GB, free: 10.59 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3654, allocations: 0 / 1.365 GB, free: 10.59 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004262/0.3658, allocations: 88 kB / 1.366 GB, free: 10.5 MB / 1.061 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.001222/0.367, allocations: 1.088 MB / 1.367 GB, free: 9.363 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000827/0.3678, allocations: 403 kB / 1.367 GB, free: 8.961 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3678, allocations: 0 / 1.367 GB, free: 8.961 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.3682, allocations: 186.4 kB / 1.367 GB, free: 8.77 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007198/0.369, allocations: 130.7 kB / 1.367 GB, free: 8.641 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005319/0.3743, allocations: 3.725 MB / 1.371 GB, free: 4.684 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.3745, allocations: 231.7 kB / 1.371 GB, free: 4.438 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002574/0.3748, allocations: 75.36 kB / 1.371 GB, free: 4.363 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.375, allocations: 135.3 kB / 1.371 GB, free: 4.23 MB / 1.061 GB Notification: Performance of SimCode: time 9.41e-07/0.375, allocations: 3.938 kB / 1.371 GB, free: 4.227 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.4075, allocations: 9.103 MB / 1.38 GB, free: 11.42 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.4, allocations: 12.86 kB / 1.38 GB, free: 11.41 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.93689332692884] Failed to read output from testmodel.py, exit status != 0: 12.567720761988312 12.595399042 12.245918033 Calling exit ...